HEX: #8B5DB8
RGB: (139,93,184)
#8B5DB8 enthält hauptsächlich rote und blaue Farbe. Für #8B5DB8 ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #8B5DB8 wird in RGB als (139,93,184) definiert.
RGB: (139,93,184) (55%,36%,72%)
R 139 von 255 = 55%
G 93 von 255 = 36%
B 184 von 255 = 72%
R + G + B ~ 54%. #8B5DB8 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 93 + 184 = 416 (100%)
R 139 von 416 ~ 33.41%
G 93 von 416 ~ 22.36%
B 184 von 416 ~ 44.23%
Die Farbe #8B5DB8 wird in CMYK als (24,49,0,28) definiert.
CMYK: (24,49,0,28) C24M49Y0K28 (24%,49%,0%,28%) (0.24/0.49/0.00/0.28)
8B | 5D | B8 | |
---|---|---|---|
RGB | 139 | 93 | 184 |
HSL | 270° | 39.06% | 54.31% |
HSB/HSV | 270° | 49.46% | 72.16% |
CMYK | 24.46% | 49.46% | 0.00% |
27.84% |
Hexadezimal | 8B | 5D | B8 |
Dezimal | 139 | 93 | 184 |
Binär | 10001011 | 1011101 | 10111000 |
Oktal | 213 | 135 | 270 |
Beispiele css- und html für Elemente in der Farbe #8B5DB8. Bitte benutzen Sie auch rgb(139,93,184) statt hex-Code.
.myTextColor { color: #8B5DB8; }
<p style="color:#8B5DB8">This sample text font color is #8B5DB8.</p>
Die Farbe dieses Textes ist #8B5DB8.
.myBgColor { background-color: #8B5DB8; }
<div style="background-color:#8B5DB8">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5DB8.
.myBorderColor { border: 1px solid #8B5DB8; }
<div style="border:3px solid #8B5DB8">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5DB8.
.myOpacity80 { color: #8B5DB8; opacity: 0.8; }
<p style="color:#8B5DB8;opacity:0.8;">80%</p>
Text in Farbe #8B5DB8 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5DB8;}
<p style="text-shadow: 3px 3px 1px #8B5DB8">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5DB8.
.textShadow {text-shadow: 3px 3px 1px #8B5DB8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5DB8, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5DB8 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5DB8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5DB8, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5DB8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5DB8; -webkit-box-shadow: 1px 1px 3px 2px #8B5DB8; box-shadow: 1px 1px 3px 2px #8B5DB8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5DB8; -webkit-box-shadow: 1px 1px 3px 2px #8B5DB8; box-shadow:1px 1px 3px 2px #8B5DB8;">
Div content here</div>
Dieser Text ist in der Farbe #8B5DB8 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5DB8 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5DB8.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5DB8.