HEX: #421B4F
RGB: (66,27,79)
#421B4F enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #421B4F ist eine «websichere» Webfarbe #333366 (oder kurz #336).
Die Farbe #421B4F wird in RGB als (66,27,79) definiert.
RGB: (66,27,79) (26%,11%,31%)
R 66 von 255 = 26%
G 27 von 255 = 11%
B 79 von 255 = 31%
R + G + B ~ 23%. #421B4F dunkle Farbe.
R + G + B =
66 + 27 + 79 = 172 (100%)
R 66 von 172 ~ 38.37%
G 27 von 172 ~ 15.7%
B 79 von 172 ~ 45.93%
Die Farbe #421B4F wird in CMYK als (16,66,0,69) definiert.
CMYK: (16,66,0,69) C16M66Y0K69 (16%,66%,0%,69%) (0.16/0.66/0.00/0.69)
42 | 1B | 4F | |
---|---|---|---|
RGB | 66 | 27 | 79 |
HSL | 285° | 49.06% | 20.78% |
HSB/HSV | 285° | 65.82% | 30.98% |
CMYK | 16.46% | 65.82% | 0.00% |
69.02% |
Hexadezimal | 42 | 1B | 4F |
Dezimal | 66 | 27 | 79 |
Binär | 1000010 | 11011 | 1001111 |
Oktal | 102 | 33 | 117 |
Beispiele css- und html für Elemente in der Farbe #421B4F. Bitte benutzen Sie auch rgb(66,27,79) statt hex-Code.
.myTextColor { color: #421B4F; }
<p style="color:#421B4F">This sample text font color is #421B4F.</p>
Die Farbe dieses Textes ist #421B4F.
.myBgColor { background-color: #421B4F; }
<div style="background-color:#421B4F">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #421B4F.
.myBorderColor { border: 1px solid #421B4F; }
<div style="border:3px solid #421B4F">Div</div>
Die Grenzen von diesem div sind in Farbe #421B4F.
.myOpacity80 { color: #421B4F; opacity: 0.8; }
<p style="color:#421B4F;opacity:0.8;">80%</p>
Text in Farbe #421B4F und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #421B4F;}
<p style="text-shadow: 3px 3px 1px #421B4F">Text here.</p>
Dieser Text hat den Schatten in Farbe #421B4F.
.textShadow {text-shadow: 3px 3px 1px #421B4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #421B4F, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #421B4F und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#421B4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#421B4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #421B4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #421B4F; -webkit-box-shadow: 1px 1px 3px 2px #421B4F; box-shadow: 1px 1px 3px 2px #421B4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #421B4F; -webkit-box-shadow: 1px 1px 3px 2px #421B4F; box-shadow:1px 1px 3px 2px #421B4F;">
Div content here</div>
Dieser Text ist in der Farbe #421B4F auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #421B4F auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #421B4F.
Dieser Text ist weiß auf dem Hintergrund in Farbe #421B4F.