HEX: #8A7AAE
RGB: (138,122,174)
#8A7AAE enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8A7AAE ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A7AAE wird in RGB als (138,122,174) definiert.
RGB: (138,122,174) (54%,48%,68%)
R 138 von 255 = 54%
G 122 von 255 = 48%
B 174 von 255 = 68%
R + G + B ~ 57%. #8A7AAE mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 122 + 174 = 434 (100%)
R 138 von 434 ~ 31.8%
G 122 von 434 ~ 28.11%
B 174 von 434 ~ 40.09%
Die Farbe #8A7AAE wird in CMYK als (21,30,0,32) definiert.
CMYK: (21,30,0,32) C21M30Y0K32 (21%,30%,0%,32%) (0.21/0.30/0.00/0.32)
8A | 7A | AE | |
---|---|---|---|
RGB | 138 | 122 | 174 |
HSL | 258° | 24.30% | 58.04% |
HSB/HSV | 258° | 29.89% | 68.24% |
CMYK | 20.69% | 29.89% | 0.00% |
31.76% |
Hexadezimal | 8A | 7A | AE |
Dezimal | 138 | 122 | 174 |
Binär | 10001010 | 1111010 | 10101110 |
Oktal | 212 | 172 | 256 |
Beispiele css- und html für Elemente in der Farbe #8A7AAE. Bitte benutzen Sie auch rgb(138,122,174) statt hex-Code.
.myTextColor { color: #8A7AAE; }
<p style="color:#8A7AAE">This sample text font color is #8A7AAE.</p>
Die Farbe dieses Textes ist #8A7AAE.
.myBgColor { background-color: #8A7AAE; }
<div style="background-color:#8A7AAE">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A7AAE.
.myBorderColor { border: 1px solid #8A7AAE; }
<div style="border:3px solid #8A7AAE">Div</div>
Die Grenzen von diesem div sind in Farbe #8A7AAE.
.myOpacity80 { color: #8A7AAE; opacity: 0.8; }
<p style="color:#8A7AAE;opacity:0.8;">80%</p>
Text in Farbe #8A7AAE und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A7AAE;}
<p style="text-shadow: 3px 3px 1px #8A7AAE">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A7AAE.
.textShadow {text-shadow: 3px 3px 1px #8A7AAE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A7AAE, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A7AAE und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A7AAE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A7AAE, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A7AAE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A7AAE; -webkit-box-shadow: 1px 1px 3px 2px #8A7AAE; box-shadow: 1px 1px 3px 2px #8A7AAE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A7AAE; -webkit-box-shadow: 1px 1px 3px 2px #8A7AAE; box-shadow:1px 1px 3px 2px #8A7AAE;">
Div content here</div>
Dieser Text ist in der Farbe #8A7AAE auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A7AAE auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A7AAE.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A7AAE.