HEX: #8A5AAB
RGB: (138,90,171)
#8A5AAB enthält hauptsächlich rote und blaue Farbe. Für #8A5AAB ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8A5AAB wird in RGB als (138,90,171) definiert.
RGB: (138,90,171) (54%,35%,67%)
R 138 von 255 = 54%
G 90 von 255 = 35%
B 171 von 255 = 67%
R + G + B ~ 52%. #8A5AAB mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
138 + 90 + 171 = 399 (100%)
R 138 von 399 ~ 34.59%
G 90 von 399 ~ 22.56%
B 171 von 399 ~ 42.86%
Die Farbe #8A5AAB wird in CMYK als (19,47,0,33) definiert.
CMYK: (19,47,0,33) C19M47Y0K33 (19%,47%,0%,33%) (0.19/0.47/0.00/0.33)
8A | 5A | AB | |
---|---|---|---|
RGB | 138 | 90 | 171 |
HSL | 276° | 32.53% | 51.18% |
HSB/HSV | 276° | 47.37% | 67.06% |
CMYK | 19.30% | 47.37% | 0.00% |
32.94% |
Hexadezimal | 8A | 5A | AB |
Dezimal | 138 | 90 | 171 |
Binär | 10001010 | 1011010 | 10101011 |
Oktal | 212 | 132 | 253 |
Beispiele css- und html für Elemente in der Farbe #8A5AAB. Bitte benutzen Sie auch rgb(138,90,171) statt hex-Code.
.myTextColor { color: #8A5AAB; }
<p style="color:#8A5AAB">This sample text font color is #8A5AAB.</p>
Die Farbe dieses Textes ist #8A5AAB.
.myBgColor { background-color: #8A5AAB; }
<div style="background-color:#8A5AAB">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8A5AAB.
.myBorderColor { border: 1px solid #8A5AAB; }
<div style="border:3px solid #8A5AAB">Div</div>
Die Grenzen von diesem div sind in Farbe #8A5AAB.
.myOpacity80 { color: #8A5AAB; opacity: 0.8; }
<p style="color:#8A5AAB;opacity:0.8;">80%</p>
Text in Farbe #8A5AAB und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8A5AAB;}
<p style="text-shadow: 3px 3px 1px #8A5AAB">Text here.</p>
Dieser Text hat den Schatten in Farbe #8A5AAB.
.textShadow {text-shadow: 3px 3px 1px #8A5AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8A5AAB, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8A5AAB und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8A5AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8A5AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #8A5AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8A5AAB; -webkit-box-shadow: 1px 1px 3px 2px #8A5AAB; box-shadow: 1px 1px 3px 2px #8A5AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8A5AAB; -webkit-box-shadow: 1px 1px 3px 2px #8A5AAB; box-shadow:1px 1px 3px 2px #8A5AAB;">
Div content here</div>
Dieser Text ist in der Farbe #8A5AAB auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8A5AAB auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8A5AAB.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8A5AAB.