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