HEX: #8E72B5
RGB: (142,114,181)
#8E72B5 enthält hauptsächlich rote und blaue Farbe. Für #8E72B5 ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #8E72B5 wird in RGB als (142,114,181) definiert.
RGB: (142,114,181) (56%,45%,71%)
R 142 von 255 = 56%
G 114 von 255 = 45%
B 181 von 255 = 71%
R + G + B ~ 57%. #8E72B5 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 114 + 181 = 437 (100%)
R 142 von 437 ~ 32.49%
G 114 von 437 ~ 26.09%
B 181 von 437 ~ 41.42%
Die Farbe #8E72B5 wird in CMYK als (22,37,0,29) definiert.
CMYK: (22,37,0,29) C22M37Y0K29 (22%,37%,0%,29%) (0.22/0.37/0.00/0.29)
8E | 72 | B5 | |
---|---|---|---|
RGB | 142 | 114 | 181 |
HSL | 265° | 31.16% | 57.84% |
HSB/HSV | 265° | 37.02% | 70.98% |
CMYK | 21.55% | 37.02% | 0.00% |
29.02% |
Hexadezimal | 8E | 72 | B5 |
Dezimal | 142 | 114 | 181 |
Binär | 10001110 | 1110010 | 10110101 |
Oktal | 216 | 162 | 265 |
Beispiele css- und html für Elemente in der Farbe #8E72B5. Bitte benutzen Sie auch rgb(142,114,181) statt hex-Code.
.myTextColor { color: #8E72B5; }
<p style="color:#8E72B5">This sample text font color is #8E72B5.</p>
Die Farbe dieses Textes ist #8E72B5.
.myBgColor { background-color: #8E72B5; }
<div style="background-color:#8E72B5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E72B5.
.myBorderColor { border: 1px solid #8E72B5; }
<div style="border:3px solid #8E72B5">Div</div>
Die Grenzen von diesem div sind in Farbe #8E72B5.
.myOpacity80 { color: #8E72B5; opacity: 0.8; }
<p style="color:#8E72B5;opacity:0.8;">80%</p>
Text in Farbe #8E72B5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E72B5;}
<p style="text-shadow: 3px 3px 1px #8E72B5">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E72B5.
.textShadow {text-shadow: 3px 3px 1px #8E72B5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E72B5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E72B5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E72B5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E72B5, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E72B5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E72B5; -webkit-box-shadow: 1px 1px 3px 2px #8E72B5; box-shadow: 1px 1px 3px 2px #8E72B5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E72B5; -webkit-box-shadow: 1px 1px 3px 2px #8E72B5; box-shadow:1px 1px 3px 2px #8E72B5;">
Div content here</div>
Dieser Text ist in der Farbe #8E72B5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E72B5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E72B5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E72B5.