HEX: #152821
RGB: (21,40,33)
#152821 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #152821 ist eine «websichere» Webfarbe #003333 (oder kurz #033).
Die Farbe #152821 wird in RGB als (21,40,33) definiert.
RGB: (21,40,33) (8%,16%,13%)
R 21 von 255 = 8%
G 40 von 255 = 16%
B 33 von 255 = 13%
R + G + B ~ 12%. #152821 dunkle Farbe.
R + G + B =
21 + 40 + 33 = 94 (100%)
R 21 von 94 ~ 22.34%
G 40 von 94 ~ 42.55%
B 33 von 94 ~ 35.11%
Die Farbe #152821 wird in CMYK als (48,0,18,84) definiert.
CMYK: (48,0,18,84) C48M0Y18K84 (48%,0%,18%,84%) (0.48/0.00/0.18/0.84)
15 | 28 | 21 | |
---|---|---|---|
RGB | 21 | 40 | 33 |
HSL | 158° | 31.15% | 11.96% |
HSB/HSV | 158° | 47.50% | 15.69% |
CMYK | 47.50% | 0.00% | 17.50% |
84.31% |
Hexadezimal | 15 | 28 | 21 |
Dezimal | 21 | 40 | 33 |
Binär | 10101 | 101000 | 100001 |
Oktal | 25 | 50 | 41 |
Beispiele css- und html für Elemente in der Farbe #152821. Bitte benutzen Sie auch rgb(21,40,33) statt hex-Code.
.myTextColor { color: #152821; }
<p style="color:#152821">This sample text font color is #152821.</p>
Die Farbe dieses Textes ist #152821.
.myBgColor { background-color: #152821; }
<div style="background-color:#152821">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #152821.
.myBorderColor { border: 1px solid #152821; }
<div style="border:3px solid #152821">Div</div>
Die Grenzen von diesem div sind in Farbe #152821.
.myOpacity80 { color: #152821; opacity: 0.8; }
<p style="color:#152821;opacity:0.8;">80%</p>
Text in Farbe #152821 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #152821;}
<p style="text-shadow: 3px 3px 1px #152821">Text here.</p>
Dieser Text hat den Schatten in Farbe #152821.
.textShadow {text-shadow: 3px 3px 1px #152821, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #152821, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #152821 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#152821, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#152821, Direction=45, Strength=4)">Text</p>
This text has shadow with #152821 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #152821; -webkit-box-shadow: 1px 1px 3px 2px #152821; box-shadow: 1px 1px 3px 2px #152821; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #152821; -webkit-box-shadow: 1px 1px 3px 2px #152821; box-shadow:1px 1px 3px 2px #152821;">
Div content here</div>
Dieser Text ist in der Farbe #152821 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #152821 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #152821.
Dieser Text ist weiß auf dem Hintergrund in Farbe #152821.