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