HEX: #0C151B
RGB: (12,21,27)
#0C151B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #0C151B ist eine «websichere» Webfarbe #000033 (oder kurz #003).
Die Farbe #0C151B wird in RGB als (12,21,27) definiert.
RGB: (12,21,27) (5%,8%,11%)
R 12 von 255 = 5%
G 21 von 255 = 8%
B 27 von 255 = 11%
R + G + B ~ 8%. #0C151B dunkle Farbe.
R + G + B =
12 + 21 + 27 = 60 (100%)
R 12 von 60 ~ 20%
G 21 von 60 ~ 35%
B 27 von 60 ~ 45%
Die Farbe #0C151B wird in CMYK als (56,22,0,89) definiert.
CMYK: (56,22,0,89) C56M22Y0K89 (56%,22%,0%,89%) (0.56/0.22/0.00/0.89)
0C | 15 | 1B | |
---|---|---|---|
RGB | 12 | 21 | 27 |
HSL | 204° | 38.46% | 7.65% |
HSB/HSV | 204° | 55.56% | 10.59% |
CMYK | 55.56% | 22.22% | 0.00% |
89.41% |
Hexadezimal | 0C | 15 | 1B |
Dezimal | 12 | 21 | 27 |
Binär | 1100 | 10101 | 11011 |
Oktal | 14 | 25 | 33 |
Beispiele css- und html für Elemente in der Farbe #0C151B. Bitte benutzen Sie auch rgb(12,21,27) statt hex-Code.
.myTextColor { color: #0C151B; }
<p style="color:#0C151B">This sample text font color is #0C151B.</p>
Die Farbe dieses Textes ist #0C151B.
.myBgColor { background-color: #0C151B; }
<div style="background-color:#0C151B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #0C151B.
.myBorderColor { border: 1px solid #0C151B; }
<div style="border:3px solid #0C151B">Div</div>
Die Grenzen von diesem div sind in Farbe #0C151B.
.myOpacity80 { color: #0C151B; opacity: 0.8; }
<p style="color:#0C151B;opacity:0.8;">80%</p>
Text in Farbe #0C151B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C151B;}
<p style="text-shadow: 3px 3px 1px #0C151B">Text here.</p>
Dieser Text hat den Schatten in Farbe #0C151B.
.textShadow {text-shadow: 3px 3px 1px #0C151B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C151B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #0C151B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C151B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C151B, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C151B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C151B; -webkit-box-shadow: 1px 1px 3px 2px #0C151B; box-shadow: 1px 1px 3px 2px #0C151B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C151B; -webkit-box-shadow: 1px 1px 3px 2px #0C151B; box-shadow:1px 1px 3px 2px #0C151B;">
Div content here</div>
Dieser Text ist in der Farbe #0C151B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #0C151B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #0C151B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #0C151B.