HEX: #8E6CAA
RGB: (142,108,170)
#8E6CAA enthält hauptsächlich rote und blaue Farbe. Für #8E6CAA ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8E6CAA wird in RGB als (142,108,170) definiert.
RGB: (142,108,170) (56%,42%,67%)
R 142 von 255 = 56%
G 108 von 255 = 42%
B 170 von 255 = 67%
R + G + B ~ 55%. #8E6CAA mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 108 + 170 = 420 (100%)
R 142 von 420 ~ 33.81%
G 108 von 420 ~ 25.71%
B 170 von 420 ~ 40.48%
Die Farbe #8E6CAA wird in CMYK als (16,36,0,33) definiert.
CMYK: (16,36,0,33) C16M36Y0K33 (16%,36%,0%,33%) (0.16/0.36/0.00/0.33)
8E | 6C | AA | |
---|---|---|---|
RGB | 142 | 108 | 170 |
HSL | 273° | 26.72% | 54.51% |
HSB/HSV | 273° | 36.47% | 66.67% |
CMYK | 16.47% | 36.47% | 0.00% |
33.33% |
Hexadezimal | 8E | 6C | AA |
Dezimal | 142 | 108 | 170 |
Binär | 10001110 | 1101100 | 10101010 |
Oktal | 216 | 154 | 252 |
Beispiele css- und html für Elemente in der Farbe #8E6CAA. Bitte benutzen Sie auch rgb(142,108,170) statt hex-Code.
.myTextColor { color: #8E6CAA; }
<p style="color:#8E6CAA">This sample text font color is #8E6CAA.</p>
Die Farbe dieses Textes ist #8E6CAA.
.myBgColor { background-color: #8E6CAA; }
<div style="background-color:#8E6CAA">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E6CAA.
.myBorderColor { border: 1px solid #8E6CAA; }
<div style="border:3px solid #8E6CAA">Div</div>
Die Grenzen von diesem div sind in Farbe #8E6CAA.
.myOpacity80 { color: #8E6CAA; opacity: 0.8; }
<p style="color:#8E6CAA;opacity:0.8;">80%</p>
Text in Farbe #8E6CAA und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E6CAA;}
<p style="text-shadow: 3px 3px 1px #8E6CAA">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E6CAA.
.textShadow {text-shadow: 3px 3px 1px #8E6CAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E6CAA, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E6CAA und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E6CAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E6CAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E6CAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E6CAA; -webkit-box-shadow: 1px 1px 3px 2px #8E6CAA; box-shadow: 1px 1px 3px 2px #8E6CAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E6CAA; -webkit-box-shadow: 1px 1px 3px 2px #8E6CAA; box-shadow:1px 1px 3px 2px #8E6CAA;">
Div content here</div>
Dieser Text ist in der Farbe #8E6CAA auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E6CAA auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E6CAA.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E6CAA.