HEX: #120C27
RGB: (18,12,39)
#120C27 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #120C27 ist eine «websichere» Webfarbe #000033 (oder kurz #003).
Die Farbe #120C27 wird in RGB als (18,12,39) definiert.
RGB: (18,12,39) (7%,5%,15%)
R 18 von 255 = 7%
G 12 von 255 = 5%
B 39 von 255 = 15%
R + G + B ~ 9%. #120C27 dunkle Farbe.
R + G + B =
18 + 12 + 39 = 69 (100%)
R 18 von 69 ~ 26.09%
G 12 von 69 ~ 17.39%
B 39 von 69 ~ 56.52%
Die Farbe #120C27 wird in CMYK als (54,69,0,85) definiert.
CMYK: (54,69,0,85) C54M69Y0K85 (54%,69%,0%,85%) (0.54/0.69/0.00/0.85)
12 | 0C | 27 | |
---|---|---|---|
RGB | 18 | 12 | 39 |
HSL | 253° | 52.94% | 10.00% |
HSB/HSV | 253° | 69.23% | 15.29% |
CMYK | 53.85% | 69.23% | 0.00% |
84.71% |
Hexadezimal | 12 | 0C | 27 |
Dezimal | 18 | 12 | 39 |
Binär | 10010 | 1100 | 100111 |
Oktal | 22 | 14 | 47 |
Beispiele css- und html für Elemente in der Farbe #120C27. Bitte benutzen Sie auch rgb(18,12,39) statt hex-Code.
.myTextColor { color: #120C27; }
<p style="color:#120C27">This sample text font color is #120C27.</p>
Die Farbe dieses Textes ist #120C27.
.myBgColor { background-color: #120C27; }
<div style="background-color:#120C27">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #120C27.
.myBorderColor { border: 1px solid #120C27; }
<div style="border:3px solid #120C27">Div</div>
Die Grenzen von diesem div sind in Farbe #120C27.
.myOpacity80 { color: #120C27; opacity: 0.8; }
<p style="color:#120C27;opacity:0.8;">80%</p>
Text in Farbe #120C27 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #120C27;}
<p style="text-shadow: 3px 3px 1px #120C27">Text here.</p>
Dieser Text hat den Schatten in Farbe #120C27.
.textShadow {text-shadow: 3px 3px 1px #120C27, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #120C27, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #120C27 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#120C27, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#120C27, Direction=45, Strength=4)">Text</p>
This text has shadow with #120C27 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #120C27; -webkit-box-shadow: 1px 1px 3px 2px #120C27; box-shadow: 1px 1px 3px 2px #120C27; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #120C27; -webkit-box-shadow: 1px 1px 3px 2px #120C27; box-shadow:1px 1px 3px 2px #120C27;">
Div content here</div>
Dieser Text ist in der Farbe #120C27 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #120C27 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #120C27.
Dieser Text ist weiß auf dem Hintergrund in Farbe #120C27.