HEX: #8B5CAF
RGB: (139,92,175)
#8B5CAF enthält hauptsächlich rote und blaue Farbe. Für #8B5CAF ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B5CAF wird in RGB als (139,92,175) definiert.
RGB: (139,92,175) (55%,36%,69%)
R 139 von 255 = 55%
G 92 von 255 = 36%
B 175 von 255 = 69%
R + G + B ~ 53%. #8B5CAF mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 92 + 175 = 406 (100%)
R 139 von 406 ~ 34.24%
G 92 von 406 ~ 22.66%
B 175 von 406 ~ 43.1%
Die Farbe #8B5CAF wird in CMYK als (21,47,0,31) definiert.
CMYK: (21,47,0,31) C21M47Y0K31 (21%,47%,0%,31%) (0.21/0.47/0.00/0.31)
8B | 5C | AF | |
---|---|---|---|
RGB | 139 | 92 | 175 |
HSL | 274° | 34.16% | 52.35% |
HSB/HSV | 274° | 47.43% | 68.63% |
CMYK | 20.57% | 47.43% | 0.00% |
31.37% |
Hexadezimal | 8B | 5C | AF |
Dezimal | 139 | 92 | 175 |
Binär | 10001011 | 1011100 | 10101111 |
Oktal | 213 | 134 | 257 |
Beispiele css- und html für Elemente in der Farbe #8B5CAF. Bitte benutzen Sie auch rgb(139,92,175) statt hex-Code.
.myTextColor { color: #8B5CAF; }
<p style="color:#8B5CAF">This sample text font color is #8B5CAF.</p>
Die Farbe dieses Textes ist #8B5CAF.
.myBgColor { background-color: #8B5CAF; }
<div style="background-color:#8B5CAF">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B5CAF.
.myBorderColor { border: 1px solid #8B5CAF; }
<div style="border:3px solid #8B5CAF">Div</div>
Die Grenzen von diesem div sind in Farbe #8B5CAF.
.myOpacity80 { color: #8B5CAF; opacity: 0.8; }
<p style="color:#8B5CAF;opacity:0.8;">80%</p>
Text in Farbe #8B5CAF und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B5CAF;}
<p style="text-shadow: 3px 3px 1px #8B5CAF">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B5CAF.
.textShadow {text-shadow: 3px 3px 1px #8B5CAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B5CAF, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B5CAF und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B5CAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B5CAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B5CAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B5CAF; -webkit-box-shadow: 1px 1px 3px 2px #8B5CAF; box-shadow: 1px 1px 3px 2px #8B5CAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B5CAF; -webkit-box-shadow: 1px 1px 3px 2px #8B5CAF; box-shadow:1px 1px 3px 2px #8B5CAF;">
Div content here</div>
Dieser Text ist in der Farbe #8B5CAF auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B5CAF auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B5CAF.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B5CAF.