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