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