HEX: #420815
RGB: (66,8,21)
#420815 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #420815 ist eine «websichere» Webfarbe #330000 (oder kurz #300).
Die Farbe #420815 wird in RGB als (66,8,21) definiert.
RGB: (66,8,21) (26%,3%,8%)
R 66 von 255 = 26%
G 8 von 255 = 3%
B 21 von 255 = 8%
R + G + B ~ 12%. #420815 dunkle Farbe.
R + G + B =
66 + 8 + 21 = 95 (100%)
R 66 von 95 ~ 69.47%
G 8 von 95 ~ 8.42%
B 21 von 95 ~ 22.11%
Die Farbe #420815 wird in CMYK als (0,88,68,74) definiert.
CMYK: (0,88,68,74) C0M88Y68K74 (0%,88%,68%,74%) (0.00/0.88/0.68/0.74)
42 | 08 | 15 | |
---|---|---|---|
RGB | 66 | 8 | 21 |
HSL | 347° | 78.38% | 14.51% |
HSB/HSV | 347° | 87.88% | 25.88% |
CMYK | 0.00% | 87.88% | 68.18% |
74.12% |
Hexadezimal | 42 | 08 | 15 |
Dezimal | 66 | 8 | 21 |
Binär | 1000010 | 1000 | 10101 |
Oktal | 102 | 10 | 25 |
Beispiele css- und html für Elemente in der Farbe #420815. Bitte benutzen Sie auch rgb(66,8,21) statt hex-Code.
.myTextColor { color: #420815; }
<p style="color:#420815">This sample text font color is #420815.</p>
Die Farbe dieses Textes ist #420815.
.myBgColor { background-color: #420815; }
<div style="background-color:#420815">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #420815.
.myBorderColor { border: 1px solid #420815; }
<div style="border:3px solid #420815">Div</div>
Die Grenzen von diesem div sind in Farbe #420815.
.myOpacity80 { color: #420815; opacity: 0.8; }
<p style="color:#420815;opacity:0.8;">80%</p>
Text in Farbe #420815 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #420815;}
<p style="text-shadow: 3px 3px 1px #420815">Text here.</p>
Dieser Text hat den Schatten in Farbe #420815.
.textShadow {text-shadow: 3px 3px 1px #420815, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #420815, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #420815 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#420815, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#420815, Direction=45, Strength=4)">Text</p>
This text has shadow with #420815 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #420815; -webkit-box-shadow: 1px 1px 3px 2px #420815; box-shadow: 1px 1px 3px 2px #420815; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #420815; -webkit-box-shadow: 1px 1px 3px 2px #420815; box-shadow:1px 1px 3px 2px #420815;">
Div content here</div>
Dieser Text ist in der Farbe #420815 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #420815 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #420815.
Dieser Text ist weiß auf dem Hintergrund in Farbe #420815.