HEX: #0C152D
RGB: (12,21,45)
#0C152D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #0C152D ist eine «websichere» Webfarbe #000033 (oder kurz #003).
Die Farbe #0C152D wird in RGB als (12,21,45) definiert.
RGB: (12,21,45) (5%,8%,18%)
R 12 von 255 = 5%
G 21 von 255 = 8%
B 45 von 255 = 18%
R + G + B ~ 10%. #0C152D dunkle Farbe.
R + G + B =
12 + 21 + 45 = 78 (100%)
R 12 von 78 ~ 15.38%
G 21 von 78 ~ 26.92%
B 45 von 78 ~ 57.69%
Die Farbe #0C152D wird in CMYK als (73,53,0,82) definiert.
CMYK: (73,53,0,82) C73M53Y0K82 (73%,53%,0%,82%) (0.73/0.53/0.00/0.82)
0C | 15 | 2D | |
---|---|---|---|
RGB | 12 | 21 | 45 |
HSL | 224° | 57.89% | 11.18% |
HSB/HSV | 224° | 73.33% | 17.65% |
CMYK | 73.33% | 53.33% | 0.00% |
82.35% |
Hexadezimal | 0C | 15 | 2D |
Dezimal | 12 | 21 | 45 |
Binär | 1100 | 10101 | 101101 |
Oktal | 14 | 25 | 55 |
Beispiele css- und html für Elemente in der Farbe #0C152D. Bitte benutzen Sie auch rgb(12,21,45) statt hex-Code.
.myTextColor { color: #0C152D; }
<p style="color:#0C152D">This sample text font color is #0C152D.</p>
Die Farbe dieses Textes ist #0C152D.
.myBgColor { background-color: #0C152D; }
<div style="background-color:#0C152D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #0C152D.
.myBorderColor { border: 1px solid #0C152D; }
<div style="border:3px solid #0C152D">Div</div>
Die Grenzen von diesem div sind in Farbe #0C152D.
.myOpacity80 { color: #0C152D; opacity: 0.8; }
<p style="color:#0C152D;opacity:0.8;">80%</p>
Text in Farbe #0C152D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0C152D;}
<p style="text-shadow: 3px 3px 1px #0C152D">Text here.</p>
Dieser Text hat den Schatten in Farbe #0C152D.
.textShadow {text-shadow: 3px 3px 1px #0C152D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0C152D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #0C152D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0C152D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0C152D, Direction=45, Strength=4)">Text</p>
This text has shadow with #0C152D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0C152D; -webkit-box-shadow: 1px 1px 3px 2px #0C152D; box-shadow: 1px 1px 3px 2px #0C152D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0C152D; -webkit-box-shadow: 1px 1px 3px 2px #0C152D; box-shadow:1px 1px 3px 2px #0C152D;">
Div content here</div>
Dieser Text ist in der Farbe #0C152D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #0C152D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #0C152D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #0C152D.