HEX: #8E8EB1
RGB: (142,142,177)
#8E8EB1 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8E8EB1 ist eine «websichere» Webfarbe #999999 (oder kurz #999).
Die Farbe #8E8EB1 wird in RGB als (142,142,177) definiert.
RGB: (142,142,177) (56%,56%,69%)
R 142 von 255 = 56%
G 142 von 255 = 56%
B 177 von 255 = 69%
R + G + B ~ 60%. #8E8EB1 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 142 + 177 = 461 (100%)
R 142 von 461 ~ 30.8%
G 142 von 461 ~ 30.8%
B 177 von 461 ~ 38.39%
Die Farbe #8E8EB1 wird in CMYK als (20,20,0,31) definiert.
CMYK: (20,20,0,31) C20M20Y0K31 (20%,20%,0%,31%) (0.20/0.20/0.00/0.31)
8E | 8E | B1 | |
---|---|---|---|
RGB | 142 | 142 | 177 |
HSL | 240° | 18.32% | 62.55% |
HSB/HSV | 240° | 19.77% | 69.41% |
CMYK | 19.77% | 19.77% | 0.00% |
30.59% |
Hexadezimal | 8E | 8E | B1 |
Dezimal | 142 | 142 | 177 |
Binär | 10001110 | 10001110 | 10110001 |
Oktal | 216 | 216 | 261 |
Beispiele css- und html für Elemente in der Farbe #8E8EB1. Bitte benutzen Sie auch rgb(142,142,177) statt hex-Code.
.myTextColor { color: #8E8EB1; }
<p style="color:#8E8EB1">This sample text font color is #8E8EB1.</p>
Die Farbe dieses Textes ist #8E8EB1.
.myBgColor { background-color: #8E8EB1; }
<div style="background-color:#8E8EB1">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E8EB1.
.myBorderColor { border: 1px solid #8E8EB1; }
<div style="border:3px solid #8E8EB1">Div</div>
Die Grenzen von diesem div sind in Farbe #8E8EB1.
.myOpacity80 { color: #8E8EB1; opacity: 0.8; }
<p style="color:#8E8EB1;opacity:0.8;">80%</p>
Text in Farbe #8E8EB1 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E8EB1;}
<p style="text-shadow: 3px 3px 1px #8E8EB1">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E8EB1.
.textShadow {text-shadow: 3px 3px 1px #8E8EB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E8EB1, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E8EB1 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E8EB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E8EB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E8EB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E8EB1; -webkit-box-shadow: 1px 1px 3px 2px #8E8EB1; box-shadow: 1px 1px 3px 2px #8E8EB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E8EB1; -webkit-box-shadow: 1px 1px 3px 2px #8E8EB1; box-shadow:1px 1px 3px 2px #8E8EB1;">
Div content here</div>
Dieser Text ist in der Farbe #8E8EB1 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E8EB1 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E8EB1.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E8EB1.