HEX: #8B74AB
RGB: (139,116,171)
#8B74AB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8B74AB ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8B74AB wird in RGB als (139,116,171) definiert.
RGB: (139,116,171) (55%,45%,67%)
R 139 von 255 = 55%
G 116 von 255 = 45%
B 171 von 255 = 67%
R + G + B ~ 56%. #8B74AB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
139 + 116 + 171 = 426 (100%)
R 139 von 426 ~ 32.63%
G 116 von 426 ~ 27.23%
B 171 von 426 ~ 40.14%
Die Farbe #8B74AB wird in CMYK als (19,32,0,33) definiert.
CMYK: (19,32,0,33) C19M32Y0K33 (19%,32%,0%,33%) (0.19/0.32/0.00/0.33)
8B | 74 | AB | |
---|---|---|---|
RGB | 139 | 116 | 171 |
HSL | 265° | 24.66% | 56.27% |
HSB/HSV | 265° | 32.16% | 67.06% |
CMYK | 18.71% | 32.16% | 0.00% |
32.94% |
Hexadezimal | 8B | 74 | AB |
Dezimal | 139 | 116 | 171 |
Binär | 10001011 | 1110100 | 10101011 |
Oktal | 213 | 164 | 253 |
Beispiele css- und html für Elemente in der Farbe #8B74AB. Bitte benutzen Sie auch rgb(139,116,171) statt hex-Code.
.myTextColor { color: #8B74AB; }
<p style="color:#8B74AB">This sample text font color is #8B74AB.</p>
Die Farbe dieses Textes ist #8B74AB.
.myBgColor { background-color: #8B74AB; }
<div style="background-color:#8B74AB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8B74AB.
.myBorderColor { border: 1px solid #8B74AB; }
<div style="border:3px solid #8B74AB">Div</div>
Die Grenzen von diesem div sind in Farbe #8B74AB.
.myOpacity80 { color: #8B74AB; opacity: 0.8; }
<p style="color:#8B74AB;opacity:0.8;">80%</p>
Text in Farbe #8B74AB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8B74AB;}
<p style="text-shadow: 3px 3px 1px #8B74AB">Text here.</p>
Dieser Text hat den Schatten in Farbe #8B74AB.
.textShadow {text-shadow: 3px 3px 1px #8B74AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8B74AB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8B74AB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8B74AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8B74AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8B74AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8B74AB; -webkit-box-shadow: 1px 1px 3px 2px #8B74AB; box-shadow: 1px 1px 3px 2px #8B74AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8B74AB; -webkit-box-shadow: 1px 1px 3px 2px #8B74AB; box-shadow:1px 1px 3px 2px #8B74AB;">
Div content here</div>
Dieser Text ist in der Farbe #8B74AB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8B74AB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8B74AB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8B74AB.