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