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