HEX: #8E7AAA
RGB: (142,122,170)
#8E7AAA enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8E7AAA ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8E7AAA wird in RGB als (142,122,170) definiert.
RGB: (142,122,170) (56%,48%,67%)
R 142 von 255 = 56%
G 122 von 255 = 48%
B 170 von 255 = 67%
R + G + B ~ 57%. #8E7AAA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 122 + 170 = 434 (100%)
R 142 von 434 ~ 32.72%
G 122 von 434 ~ 28.11%
B 170 von 434 ~ 39.17%
Die Farbe #8E7AAA wird in CMYK als (16,28,0,33) definiert.
CMYK: (16,28,0,33) C16M28Y0K33 (16%,28%,0%,33%) (0.16/0.28/0.00/0.33)
8E | 7A | AA | |
---|---|---|---|
RGB | 142 | 122 | 170 |
HSL | 265° | 22.02% | 57.25% |
HSB/HSV | 265° | 28.24% | 66.67% |
CMYK | 16.47% | 28.24% | 0.00% |
33.33% |
Hexadezimal | 8E | 7A | AA |
Dezimal | 142 | 122 | 170 |
Binär | 10001110 | 1111010 | 10101010 |
Oktal | 216 | 172 | 252 |
Beispiele css- und html für Elemente in der Farbe #8E7AAA. Bitte benutzen Sie auch rgb(142,122,170) statt hex-Code.
.myTextColor { color: #8E7AAA; }
<p style="color:#8E7AAA">This sample text font color is #8E7AAA.</p>
Die Farbe dieses Textes ist #8E7AAA.
.myBgColor { background-color: #8E7AAA; }
<div style="background-color:#8E7AAA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E7AAA.
.myBorderColor { border: 1px solid #8E7AAA; }
<div style="border:3px solid #8E7AAA">Div</div>
Die Grenzen von diesem div sind in Farbe #8E7AAA.
.myOpacity80 { color: #8E7AAA; opacity: 0.8; }
<p style="color:#8E7AAA;opacity:0.8;">80%</p>
Text in Farbe #8E7AAA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E7AAA;}
<p style="text-shadow: 3px 3px 1px #8E7AAA">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E7AAA.
.textShadow {text-shadow: 3px 3px 1px #8E7AAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E7AAA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E7AAA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E7AAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E7AAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E7AAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E7AAA; -webkit-box-shadow: 1px 1px 3px 2px #8E7AAA; box-shadow: 1px 1px 3px 2px #8E7AAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E7AAA; -webkit-box-shadow: 1px 1px 3px 2px #8E7AAA; box-shadow:1px 1px 3px 2px #8E7AAA;">
Div content here</div>
Dieser Text ist in der Farbe #8E7AAA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E7AAA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E7AAA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E7AAA.