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