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