HEX: #8B5168
RGB: (139,81,104)
#8B5168 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B5168 ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #8B5168 wird in RGB als (139,81,104) definiert.
RGB: (139,81,104) (55%,32%,41%)
R 139 von 255 = 55%
G 81 von 255 = 32%
B 104 von 255 = 41%
R + G + B ~ 43%. #8B5168 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 81 + 104 = 324 (100%)
R 139 von 324 ~ 42.9%
G 81 von 324 ~ 25%
B 104 von 324 ~ 32.1%
Die Farbe #8B5168 wird in CMYK als (0,42,25,45) definiert.
CMYK: (0,42,25,45) C0M42Y25K45 (0%,42%,25%,45%) (0.00/0.42/0.25/0.45)
8B | 51 | 68 | |
---|---|---|---|
RGB | 139 | 81 | 104 |
HSL | 336° | 26.36% | 43.14% |
HSB/HSV | 336° | 41.73% | 54.51% |
CMYK | 0.00% | 41.73% | 25.18% |
45.49% |
Hexadezimal | 8B | 51 | 68 |
Dezimal | 139 | 81 | 104 |
Binär | 10001011 | 1010001 | 1101000 |
Oktal | 213 | 121 | 150 |
Beispiele css- und html für Elemente in der Farbe #8B5168. Bitte benutzen Sie auch rgb(139,81,104) statt hex-Code.
.myTextColor { color: #8B5168; }
<p style="color:#8B5168">This sample text font color is #8B5168.</p>
Die Farbe dieses Textes ist #8B5168.
.myBgColor { background-color: #8B5168; }
<div style="background-color:#8B5168">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5168.
.myBorderColor { border: 1px solid #8B5168; }
<div style="border:3px solid #8B5168">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5168.
.myOpacity80 { color: #8B5168; opacity: 0.8; }
<p style="color:#8B5168;opacity:0.8;">80%</p>
Text in Farbe #8B5168 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5168;}
<p style="text-shadow: 3px 3px 1px #8B5168">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5168.
.textShadow {text-shadow: 3px 3px 1px #8B5168, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5168, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5168 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5168, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5168, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5168 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5168; -webkit-box-shadow: 1px 1px 3px 2px #8B5168; box-shadow: 1px 1px 3px 2px #8B5168; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5168; -webkit-box-shadow: 1px 1px 3px 2px #8B5168; box-shadow:1px 1px 3px 2px #8B5168;">
Div content here</div>
Dieser Text ist in der Farbe #8B5168 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5168 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5168.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5168.