HEX: #8E7F8B
RGB: (142,127,139)
#8E7F8B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8E7F8B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #8E7F8B wird in RGB als (142,127,139) definiert.
RGB: (142,127,139) (56%,50%,55%)
R 142 von 255 = 56%
G 127 von 255 = 50%
B 139 von 255 = 55%
R + G + B ~ 54%. #8E7F8B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
142 + 127 + 139 = 408 (100%)
R 142 von 408 ~ 34.8%
G 127 von 408 ~ 31.13%
B 139 von 408 ~ 34.07%
Die Farbe #8E7F8B wird in CMYK als (0,11,2,44) definiert.
CMYK: (0,11,2,44) C0M11Y2K44 (0%,11%,2%,44%) (0.00/0.11/0.02/0.44)
8E | 7F | 8B | |
---|---|---|---|
RGB | 142 | 127 | 139 |
HSL | 312° | 6.22% | 52.75% |
HSB/HSV | 312° | 10.56% | 55.69% |
CMYK | 0.00% | 10.56% | 2.11% |
44.31% |
Hexadezimal | 8E | 7F | 8B |
Dezimal | 142 | 127 | 139 |
Binär | 10001110 | 1111111 | 10001011 |
Oktal | 216 | 177 | 213 |
Beispiele css- und html für Elemente in der Farbe #8E7F8B. Bitte benutzen Sie auch rgb(142,127,139) statt hex-Code.
.myTextColor { color: #8E7F8B; }
<p style="color:#8E7F8B">This sample text font color is #8E7F8B.</p>
Die Farbe dieses Textes ist #8E7F8B.
.myBgColor { background-color: #8E7F8B; }
<div style="background-color:#8E7F8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8E7F8B.
.myBorderColor { border: 1px solid #8E7F8B; }
<div style="border:3px solid #8E7F8B">Div</div>
Die Grenzen von diesem div sind in Farbe #8E7F8B.
.myOpacity80 { color: #8E7F8B; opacity: 0.8; }
<p style="color:#8E7F8B;opacity:0.8;">80%</p>
Text in Farbe #8E7F8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E7F8B;}
<p style="text-shadow: 3px 3px 1px #8E7F8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #8E7F8B.
.textShadow {text-shadow: 3px 3px 1px #8E7F8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E7F8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8E7F8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E7F8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E7F8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E7F8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E7F8B; -webkit-box-shadow: 1px 1px 3px 2px #8E7F8B; box-shadow: 1px 1px 3px 2px #8E7F8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E7F8B; -webkit-box-shadow: 1px 1px 3px 2px #8E7F8B; box-shadow:1px 1px 3px 2px #8E7F8B;">
Div content here</div>
Dieser Text ist in der Farbe #8E7F8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8E7F8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8E7F8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8E7F8B.