HEX: #2B150B
RGB: (43,21,11)
#2B150B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #2B150B ist eine «websichere» Webfarbe #330000 (oder kurz #300).
Die Farbe #2B150B wird in RGB als (43,21,11) definiert.
RGB: (43,21,11) (17%,8%,4%)
R 43 von 255 = 17%
G 21 von 255 = 8%
B 11 von 255 = 4%
R + G + B ~ 10%. #2B150B dunkle Farbe.
R + G + B =
43 + 21 + 11 = 75 (100%)
R 43 von 75 ~ 57.33%
G 21 von 75 ~ 28%
B 11 von 75 ~ 14.67%
Die Farbe #2B150B wird in CMYK als (0,51,74,83) definiert.
CMYK: (0,51,74,83) C0M51Y74K83 (0%,51%,74%,83%) (0.00/0.51/0.74/0.83)
2B | 15 | 0B | |
---|---|---|---|
RGB | 43 | 21 | 11 |
HSL | 19° | 59.26% | 10.59% |
HSB/HSV | 19° | 74.42% | 16.86% |
CMYK | 0.00% | 51.16% | 74.42% |
83.14% |
Hexadezimal | 2B | 15 | 0B |
Dezimal | 43 | 21 | 11 |
Binär | 101011 | 10101 | 1011 |
Oktal | 53 | 25 | 13 |
Beispiele css- und html für Elemente in der Farbe #2B150B. Bitte benutzen Sie auch rgb(43,21,11) statt hex-Code.
.myTextColor { color: #2B150B; }
<p style="color:#2B150B">This sample text font color is #2B150B.</p>
Die Farbe dieses Textes ist #2B150B.
.myBgColor { background-color: #2B150B; }
<div style="background-color:#2B150B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #2B150B.
.myBorderColor { border: 1px solid #2B150B; }
<div style="border:3px solid #2B150B">Div</div>
Die Grenzen von diesem div sind in Farbe #2B150B.
.myOpacity80 { color: #2B150B; opacity: 0.8; }
<p style="color:#2B150B;opacity:0.8;">80%</p>
Text in Farbe #2B150B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2B150B;}
<p style="text-shadow: 3px 3px 1px #2B150B">Text here.</p>
Dieser Text hat den Schatten in Farbe #2B150B.
.textShadow {text-shadow: 3px 3px 1px #2B150B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2B150B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #2B150B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2B150B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2B150B, Direction=45, Strength=4)">Text</p>
This text has shadow with #2B150B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2B150B; -webkit-box-shadow: 1px 1px 3px 2px #2B150B; box-shadow: 1px 1px 3px 2px #2B150B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2B150B; -webkit-box-shadow: 1px 1px 3px 2px #2B150B; box-shadow:1px 1px 3px 2px #2B150B;">
Div content here</div>
Dieser Text ist in der Farbe #2B150B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #2B150B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #2B150B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #2B150B.