HEX: #8B4EB9
RGB: (139,78,185)
#8B4EB9 enthält hauptsächlich rote und blaue Farbe. Für #8B4EB9 ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #8B4EB9 wird in RGB als (139,78,185) definiert.
RGB: (139,78,185) (55%,31%,73%)
R 139 von 255 = 55%
G 78 von 255 = 31%
B 185 von 255 = 73%
R + G + B ~ 53%. #8B4EB9 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 78 + 185 = 402 (100%)
R 139 von 402 ~ 34.58%
G 78 von 402 ~ 19.4%
B 185 von 402 ~ 46.02%
Die Farbe #8B4EB9 wird in CMYK als (25,58,0,27) definiert.
CMYK: (25,58,0,27) C25M58Y0K27 (25%,58%,0%,27%) (0.25/0.58/0.00/0.27)
8B | 4E | B9 | |
---|---|---|---|
RGB | 139 | 78 | 185 |
HSL | 274° | 43.32% | 51.57% |
HSB/HSV | 274° | 57.84% | 72.55% |
CMYK | 24.86% | 57.84% | 0.00% |
27.45% |
Hexadezimal | 8B | 4E | B9 |
Dezimal | 139 | 78 | 185 |
Binär | 10001011 | 1001110 | 10111001 |
Oktal | 213 | 116 | 271 |
Beispiele css- und html für Elemente in der Farbe #8B4EB9. Bitte benutzen Sie auch rgb(139,78,185) statt hex-Code.
.myTextColor { color: #8B4EB9; }
<p style="color:#8B4EB9">This sample text font color is #8B4EB9.</p>
Die Farbe dieses Textes ist #8B4EB9.
.myBgColor { background-color: #8B4EB9; }
<div style="background-color:#8B4EB9">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B4EB9.
.myBorderColor { border: 1px solid #8B4EB9; }
<div style="border:3px solid #8B4EB9">Div</div>
Die Grenzen von diesem div sind in Farbe #8B4EB9.
.myOpacity80 { color: #8B4EB9; opacity: 0.8; }
<p style="color:#8B4EB9;opacity:0.8;">80%</p>
Text in Farbe #8B4EB9 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B4EB9;}
<p style="text-shadow: 3px 3px 1px #8B4EB9">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B4EB9.
.textShadow {text-shadow: 3px 3px 1px #8B4EB9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B4EB9, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B4EB9 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B4EB9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B4EB9, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B4EB9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B4EB9; -webkit-box-shadow: 1px 1px 3px 2px #8B4EB9; box-shadow: 1px 1px 3px 2px #8B4EB9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B4EB9; -webkit-box-shadow: 1px 1px 3px 2px #8B4EB9; box-shadow:1px 1px 3px 2px #8B4EB9;">
Div content here</div>
Dieser Text ist in der Farbe #8B4EB9 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B4EB9 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B4EB9.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B4EB9.