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