HEX: #8E4A81
RGB: (142,74,129)
#8E4A81 enthält hauptsächlich rote und blaue Farbe. Für #8E4A81 ist eine «websichere» Webfarbe #993399 (oder kurz #939).
Die Farbe #8E4A81 wird in RGB als (142,74,129) definiert.
RGB: (142,74,129) (56%,29%,51%)
R 142 von 255 = 56%
G 74 von 255 = 29%
B 129 von 255 = 51%
R + G + B ~ 45%. #8E4A81 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 74 + 129 = 345 (100%)
R 142 von 345 ~ 41.16%
G 74 von 345 ~ 21.45%
B 129 von 345 ~ 37.39%
Die Farbe #8E4A81 wird in CMYK als (0,48,9,44) definiert.
CMYK: (0,48,9,44) C0M48Y9K44 (0%,48%,9%,44%) (0.00/0.48/0.09/0.44)
8E | 4A | 81 | |
---|---|---|---|
RGB | 142 | 74 | 129 |
HSL | 311° | 31.48% | 42.35% |
HSB/HSV | 311° | 47.89% | 55.69% |
CMYK | 0.00% | 47.89% | 9.15% |
44.31% |
Hexadezimal | 8E | 4A | 81 |
Dezimal | 142 | 74 | 129 |
Binär | 10001110 | 1001010 | 10000001 |
Oktal | 216 | 112 | 201 |
Beispiele css- und html für Elemente in der Farbe #8E4A81. Bitte benutzen Sie auch rgb(142,74,129) statt hex-Code.
.myTextColor { color: #8E4A81; }
<p style="color:#8E4A81">This sample text font color is #8E4A81.</p>
Die Farbe dieses Textes ist #8E4A81.
.myBgColor { background-color: #8E4A81; }
<div style="background-color:#8E4A81">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E4A81.
.myBorderColor { border: 1px solid #8E4A81; }
<div style="border:3px solid #8E4A81">Div</div>
Die Grenzen von diesem div sind in Farbe #8E4A81.
.myOpacity80 { color: #8E4A81; opacity: 0.8; }
<p style="color:#8E4A81;opacity:0.8;">80%</p>
Text in Farbe #8E4A81 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E4A81;}
<p style="text-shadow: 3px 3px 1px #8E4A81">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E4A81.
.textShadow {text-shadow: 3px 3px 1px #8E4A81, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E4A81, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E4A81 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E4A81, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E4A81, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E4A81 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E4A81; -webkit-box-shadow: 1px 1px 3px 2px #8E4A81; box-shadow: 1px 1px 3px 2px #8E4A81; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E4A81; -webkit-box-shadow: 1px 1px 3px 2px #8E4A81; box-shadow:1px 1px 3px 2px #8E4A81;">
Div content here</div>
Dieser Text ist in der Farbe #8E4A81 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E4A81 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E4A81.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E4A81.