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