HEX: #040C0E
RGB: (4,12,14)
#040C0E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #040C0E ist eine «websichere» Webfarbe #000000 (oder kurz #000).
Die Farbe #040C0E wird in RGB als (4,12,14) definiert.
RGB: (4,12,14) (2%,5%,5%)
R 4 von 255 = 2%
G 12 von 255 = 5%
B 14 von 255 = 5%
R + G + B ~ 4%. #040C0E dunkle Farbe.
R + G + B =
4 + 12 + 14 = 30 (100%)
R 4 von 30 ~ 13.33%
G 12 von 30 ~ 40%
B 14 von 30 ~ 46.67%
Die Farbe #040C0E wird in CMYK als (71,14,0,95) definiert.
CMYK: (71,14,0,95) C71M14Y0K95 (71%,14%,0%,95%) (0.71/0.14/0.00/0.95)
04 | 0C | 0E | |
---|---|---|---|
RGB | 4 | 12 | 14 |
HSL | 192° | 55.56% | 3.53% |
HSB/HSV | 192° | 71.43% | 5.49% |
CMYK | 71.43% | 14.29% | 0.00% |
94.51% |
Hexadezimal | 04 | 0C | 0E |
Dezimal | 4 | 12 | 14 |
Binär | 100 | 1100 | 1110 |
Oktal | 4 | 14 | 16 |
Beispiele css- und html für Elemente in der Farbe #040C0E. Bitte benutzen Sie auch rgb(4,12,14) statt hex-Code.
.myTextColor { color: #040C0E; }
<p style="color:#040C0E">This sample text font color is #040C0E.</p>
Die Farbe dieses Textes ist #040C0E.
.myBgColor { background-color: #040C0E; }
<div style="background-color:#040C0E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #040C0E.
.myBorderColor { border: 1px solid #040C0E; }
<div style="border:3px solid #040C0E">Div</div>
Die Grenzen von diesem div sind in Farbe #040C0E.
.myOpacity80 { color: #040C0E; opacity: 0.8; }
<p style="color:#040C0E;opacity:0.8;">80%</p>
Text in Farbe #040C0E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #040C0E;}
<p style="text-shadow: 3px 3px 1px #040C0E">Text here.</p>
Dieser Text hat den Schatten in Farbe #040C0E.
.textShadow {text-shadow: 3px 3px 1px #040C0E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #040C0E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #040C0E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#040C0E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#040C0E, Direction=45, Strength=4)">Text</p>
This text has shadow with #040C0E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #040C0E; -webkit-box-shadow: 1px 1px 3px 2px #040C0E; box-shadow: 1px 1px 3px 2px #040C0E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #040C0E; -webkit-box-shadow: 1px 1px 3px 2px #040C0E; box-shadow:1px 1px 3px 2px #040C0E;">
Div content here</div>
Dieser Text ist in der Farbe #040C0E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #040C0E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #040C0E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #040C0E.