HEX: #8B5EA7
RGB: (139,94,167)
#8B5EA7 enthält hauptsächlich rote und blaue Farbe. Für #8B5EA7 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B5EA7 wird in RGB als (139,94,167) definiert.
RGB: (139,94,167) (55%,37%,65%)
R 139 von 255 = 55%
G 94 von 255 = 37%
B 167 von 255 = 65%
R + G + B ~ 52%. #8B5EA7 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 94 + 167 = 400 (100%)
R 139 von 400 ~ 34.75%
G 94 von 400 ~ 23.5%
B 167 von 400 ~ 41.75%
Die Farbe #8B5EA7 wird in CMYK als (17,44,0,35) definiert.
CMYK: (17,44,0,35) C17M44Y0K35 (17%,44%,0%,35%) (0.17/0.44/0.00/0.35)
8B | 5E | A7 | |
---|---|---|---|
RGB | 139 | 94 | 167 |
HSL | 277° | 29.32% | 51.18% |
HSB/HSV | 277° | 43.71% | 65.49% |
CMYK | 16.77% | 43.71% | 0.00% |
34.51% |
Hexadezimal | 8B | 5E | A7 |
Dezimal | 139 | 94 | 167 |
Binär | 10001011 | 1011110 | 10100111 |
Oktal | 213 | 136 | 247 |
Beispiele css- und html für Elemente in der Farbe #8B5EA7. Bitte benutzen Sie auch rgb(139,94,167) statt hex-Code.
.myTextColor { color: #8B5EA7; }
<p style="color:#8B5EA7">This sample text font color is #8B5EA7.</p>
Die Farbe dieses Textes ist #8B5EA7.
.myBgColor { background-color: #8B5EA7; }
<div style="background-color:#8B5EA7">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5EA7.
.myBorderColor { border: 1px solid #8B5EA7; }
<div style="border:3px solid #8B5EA7">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5EA7.
.myOpacity80 { color: #8B5EA7; opacity: 0.8; }
<p style="color:#8B5EA7;opacity:0.8;">80%</p>
Text in Farbe #8B5EA7 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5EA7;}
<p style="text-shadow: 3px 3px 1px #8B5EA7">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5EA7.
.textShadow {text-shadow: 3px 3px 1px #8B5EA7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5EA7, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5EA7 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5EA7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5EA7, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5EA7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5EA7; -webkit-box-shadow: 1px 1px 3px 2px #8B5EA7; box-shadow: 1px 1px 3px 2px #8B5EA7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5EA7; -webkit-box-shadow: 1px 1px 3px 2px #8B5EA7; box-shadow:1px 1px 3px 2px #8B5EA7;">
Div content here</div>
Dieser Text ist in der Farbe #8B5EA7 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5EA7 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5EA7.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5EA7.