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