HEX: #8B509D
RGB: (139,80,157)
#8B509D enthält hauptsächlich rote und blaue Farbe. Für #8B509D ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B509D wird in RGB als (139,80,157) definiert.
RGB: (139,80,157) (55%,31%,62%)
R 139 von 255 = 55%
G 80 von 255 = 31%
B 157 von 255 = 62%
R + G + B ~ 49%. #8B509D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 80 + 157 = 376 (100%)
R 139 von 376 ~ 36.97%
G 80 von 376 ~ 21.28%
B 157 von 376 ~ 41.76%
Die Farbe #8B509D wird in CMYK als (11,49,0,38) definiert.
CMYK: (11,49,0,38) C11M49Y0K38 (11%,49%,0%,38%) (0.11/0.49/0.00/0.38)
8B | 50 | 9D | |
---|---|---|---|
RGB | 139 | 80 | 157 |
HSL | 286° | 32.49% | 46.47% |
HSB/HSV | 286° | 49.04% | 61.57% |
CMYK | 11.46% | 49.04% | 0.00% |
38.43% |
Hexadezimal | 8B | 50 | 9D |
Dezimal | 139 | 80 | 157 |
Binär | 10001011 | 1010000 | 10011101 |
Oktal | 213 | 120 | 235 |
Beispiele css- und html für Elemente in der Farbe #8B509D. Bitte benutzen Sie auch rgb(139,80,157) statt hex-Code.
.myTextColor { color: #8B509D; }
<p style="color:#8B509D">This sample text font color is #8B509D.</p>
Die Farbe dieses Textes ist #8B509D.
.myBgColor { background-color: #8B509D; }
<div style="background-color:#8B509D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B509D.
.myBorderColor { border: 1px solid #8B509D; }
<div style="border:3px solid #8B509D">Div</div>
Die Grenzen von diesem div sind in Farbe #8B509D.
.myOpacity80 { color: #8B509D; opacity: 0.8; }
<p style="color:#8B509D;opacity:0.8;">80%</p>
Text in Farbe #8B509D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B509D;}
<p style="text-shadow: 3px 3px 1px #8B509D">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B509D.
.textShadow {text-shadow: 3px 3px 1px #8B509D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B509D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B509D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B509D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B509D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B509D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B509D; -webkit-box-shadow: 1px 1px 3px 2px #8B509D; box-shadow: 1px 1px 3px 2px #8B509D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B509D; -webkit-box-shadow: 1px 1px 3px 2px #8B509D; box-shadow:1px 1px 3px 2px #8B509D;">
Div content here</div>
Dieser Text ist in der Farbe #8B509D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B509D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B509D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B509D.