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