HEX: #8A7EAB
RGB: (138,126,171)
#8A7EAB enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A7EAB ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A7EAB wird in RGB als (138,126,171) definiert.
RGB: (138,126,171) (54%,49%,67%)
R 138 von 255 = 54%
G 126 von 255 = 49%
B 171 von 255 = 67%
R + G + B ~ 57%. #8A7EAB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 126 + 171 = 435 (100%)
R 138 von 435 ~ 31.72%
G 126 von 435 ~ 28.97%
B 171 von 435 ~ 39.31%
Die Farbe #8A7EAB wird in CMYK als (19,26,0,33) definiert.
CMYK: (19,26,0,33) C19M26Y0K33 (19%,26%,0%,33%) (0.19/0.26/0.00/0.33)
8A | 7E | AB | |
---|---|---|---|
RGB | 138 | 126 | 171 |
HSL | 256° | 21.13% | 58.24% |
HSB/HSV | 256° | 26.32% | 67.06% |
CMYK | 19.30% | 26.32% | 0.00% |
32.94% |
Hexadezimal | 8A | 7E | AB |
Dezimal | 138 | 126 | 171 |
Binär | 10001010 | 1111110 | 10101011 |
Oktal | 212 | 176 | 253 |
Beispiele css- und html für Elemente in der Farbe #8A7EAB. Bitte benutzen Sie auch rgb(138,126,171) statt hex-Code.
.myTextColor { color: #8A7EAB; }
<p style="color:#8A7EAB">This sample text font color is #8A7EAB.</p>
Die Farbe dieses Textes ist #8A7EAB.
.myBgColor { background-color: #8A7EAB; }
<div style="background-color:#8A7EAB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A7EAB.
.myBorderColor { border: 1px solid #8A7EAB; }
<div style="border:3px solid #8A7EAB">Div</div>
Die Grenzen von diesem div sind in Farbe #8A7EAB.
.myOpacity80 { color: #8A7EAB; opacity: 0.8; }
<p style="color:#8A7EAB;opacity:0.8;">80%</p>
Text in Farbe #8A7EAB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A7EAB;}
<p style="text-shadow: 3px 3px 1px #8A7EAB">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A7EAB.
.textShadow {text-shadow: 3px 3px 1px #8A7EAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A7EAB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A7EAB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A7EAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A7EAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A7EAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A7EAB; -webkit-box-shadow: 1px 1px 3px 2px #8A7EAB; box-shadow: 1px 1px 3px 2px #8A7EAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A7EAB; -webkit-box-shadow: 1px 1px 3px 2px #8A7EAB; box-shadow:1px 1px 3px 2px #8A7EAB;">
Div content here</div>
Dieser Text ist in der Farbe #8A7EAB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A7EAB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A7EAB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A7EAB.