HEX: #8B5E96
RGB: (139,94,150)
#8B5E96 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B5E96 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B5E96 wird in RGB als (139,94,150) definiert.
RGB: (139,94,150) (55%,37%,59%)
R 139 von 255 = 55%
G 94 von 255 = 37%
B 150 von 255 = 59%
R + G + B ~ 50%. #8B5E96 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 94 + 150 = 383 (100%)
R 139 von 383 ~ 36.29%
G 94 von 383 ~ 24.54%
B 150 von 383 ~ 39.16%
Die Farbe #8B5E96 wird in CMYK als (7,37,0,41) definiert.
CMYK: (7,37,0,41) C7M37Y0K41 (7%,37%,0%,41%) (0.07/0.37/0.00/0.41)
8B | 5E | 96 | |
---|---|---|---|
RGB | 139 | 94 | 150 |
HSL | 288° | 22.95% | 47.84% |
HSB/HSV | 288° | 37.33% | 58.82% |
CMYK | 7.33% | 37.33% | 0.00% |
41.18% |
Hexadezimal | 8B | 5E | 96 |
Dezimal | 139 | 94 | 150 |
Binär | 10001011 | 1011110 | 10010110 |
Oktal | 213 | 136 | 226 |
Beispiele css- und html für Elemente in der Farbe #8B5E96. Bitte benutzen Sie auch rgb(139,94,150) statt hex-Code.
.myTextColor { color: #8B5E96; }
<p style="color:#8B5E96">This sample text font color is #8B5E96.</p>
Die Farbe dieses Textes ist #8B5E96.
.myBgColor { background-color: #8B5E96; }
<div style="background-color:#8B5E96">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5E96.
.myBorderColor { border: 1px solid #8B5E96; }
<div style="border:3px solid #8B5E96">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5E96.
.myOpacity80 { color: #8B5E96; opacity: 0.8; }
<p style="color:#8B5E96;opacity:0.8;">80%</p>
Text in Farbe #8B5E96 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5E96;}
<p style="text-shadow: 3px 3px 1px #8B5E96">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5E96.
.textShadow {text-shadow: 3px 3px 1px #8B5E96, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5E96, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5E96 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5E96, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5E96, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5E96 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5E96; -webkit-box-shadow: 1px 1px 3px 2px #8B5E96; box-shadow: 1px 1px 3px 2px #8B5E96; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5E96; -webkit-box-shadow: 1px 1px 3px 2px #8B5E96; box-shadow:1px 1px 3px 2px #8B5E96;">
Div content here</div>
Dieser Text ist in der Farbe #8B5E96 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5E96 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5E96.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5E96.