HEX: #9E7E9B
RGB: (158,126,155)
#9E7E9B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9E7E9B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9E7E9B wird in RGB als (158,126,155) definiert.
RGB: (158,126,155) (62%,49%,61%)
R 158 von 255 = 62%
G 126 von 255 = 49%
B 155 von 255 = 61%
R + G + B ~ 57%. #9E7E9B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
158 + 126 + 155 = 439 (100%)
R 158 von 439 ~ 35.99%
G 126 von 439 ~ 28.7%
B 155 von 439 ~ 35.31%
Die Farbe #9E7E9B wird in CMYK als (0,20,2,38) definiert.
CMYK: (0,20,2,38) C0M20Y2K38 (0%,20%,2%,38%) (0.00/0.20/0.02/0.38)
9E | 7E | 9B | |
---|---|---|---|
RGB | 158 | 126 | 155 |
HSL | 306° | 14.16% | 55.69% |
HSB/HSV | 306° | 20.25% | 61.96% |
CMYK | 0.00% | 20.25% | 1.90% |
38.04% |
Hexadezimal | 9E | 7E | 9B |
Dezimal | 158 | 126 | 155 |
Binär | 10011110 | 1111110 | 10011011 |
Oktal | 236 | 176 | 233 |
Beispiele css- und html für Elemente in der Farbe #9E7E9B. Bitte benutzen Sie auch rgb(158,126,155) statt hex-Code.
.myTextColor { color: #9E7E9B; }
<p style="color:#9E7E9B">This sample text font color is #9E7E9B.</p>
Die Farbe dieses Textes ist #9E7E9B.
.myBgColor { background-color: #9E7E9B; }
<div style="background-color:#9E7E9B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9E7E9B.
.myBorderColor { border: 1px solid #9E7E9B; }
<div style="border:3px solid #9E7E9B">Div</div>
Die Grenzen von diesem div sind in Farbe #9E7E9B.
.myOpacity80 { color: #9E7E9B; opacity: 0.8; }
<p style="color:#9E7E9B;opacity:0.8;">80%</p>
Text in Farbe #9E7E9B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E7E9B;}
<p style="text-shadow: 3px 3px 1px #9E7E9B">Text here.</p>
Dieser Text hat den Schatten in Farbe #9E7E9B.
.textShadow {text-shadow: 3px 3px 1px #9E7E9B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E7E9B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9E7E9B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E7E9B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E7E9B, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E7E9B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E7E9B; -webkit-box-shadow: 1px 1px 3px 2px #9E7E9B; box-shadow: 1px 1px 3px 2px #9E7E9B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E7E9B; -webkit-box-shadow: 1px 1px 3px 2px #9E7E9B; box-shadow:1px 1px 3px 2px #9E7E9B;">
Div content here</div>
Dieser Text ist in der Farbe #9E7E9B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9E7E9B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9E7E9B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9E7E9B.