HEX: #9E7EA5
RGB: (158,126,165)
#9E7EA5 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9E7EA5 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9E7EA5 wird in RGB als (158,126,165) definiert.
RGB: (158,126,165) (62%,49%,65%)
R 158 von 255 = 62%
G 126 von 255 = 49%
B 165 von 255 = 65%
R + G + B ~ 59%. #9E7EA5 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
158 + 126 + 165 = 449 (100%)
R 158 von 449 ~ 35.19%
G 126 von 449 ~ 28.06%
B 165 von 449 ~ 36.75%
Die Farbe #9E7EA5 wird in CMYK als (4,24,0,35) definiert.
CMYK: (4,24,0,35) C4M24Y0K35 (4%,24%,0%,35%) (0.04/0.24/0.00/0.35)
9E | 7E | A5 | |
---|---|---|---|
RGB | 158 | 126 | 165 |
HSL | 289° | 17.81% | 57.06% |
HSB/HSV | 289° | 23.64% | 64.71% |
CMYK | 4.24% | 23.64% | 0.00% |
35.29% |
Hexadezimal | 9E | 7E | A5 |
Dezimal | 158 | 126 | 165 |
Binär | 10011110 | 1111110 | 10100101 |
Oktal | 236 | 176 | 245 |
Beispiele css- und html für Elemente in der Farbe #9E7EA5. Bitte benutzen Sie auch rgb(158,126,165) statt hex-Code.
.myTextColor { color: #9E7EA5; }
<p style="color:#9E7EA5">This sample text font color is #9E7EA5.</p>
Die Farbe dieses Textes ist #9E7EA5.
.myBgColor { background-color: #9E7EA5; }
<div style="background-color:#9E7EA5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9E7EA5.
.myBorderColor { border: 1px solid #9E7EA5; }
<div style="border:3px solid #9E7EA5">Div</div>
Die Grenzen von diesem div sind in Farbe #9E7EA5.
.myOpacity80 { color: #9E7EA5; opacity: 0.8; }
<p style="color:#9E7EA5;opacity:0.8;">80%</p>
Text in Farbe #9E7EA5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E7EA5;}
<p style="text-shadow: 3px 3px 1px #9E7EA5">Text here.</p>
Dieser Text hat den Schatten in Farbe #9E7EA5.
.textShadow {text-shadow: 3px 3px 1px #9E7EA5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E7EA5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9E7EA5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E7EA5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E7EA5, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E7EA5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E7EA5; -webkit-box-shadow: 1px 1px 3px 2px #9E7EA5; box-shadow: 1px 1px 3px 2px #9E7EA5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E7EA5; -webkit-box-shadow: 1px 1px 3px 2px #9E7EA5; box-shadow:1px 1px 3px 2px #9E7EA5;">
Div content here</div>
Dieser Text ist in der Farbe #9E7EA5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9E7EA5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9E7EA5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9E7EA5.