HEX: #9E6699
RGB: (158,102,153)
#9E6699 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9E6699 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9E6699 wird in RGB als (158,102,153) definiert.
RGB: (158,102,153) (62%,40%,60%)
R 158 von 255 = 62%
G 102 von 255 = 40%
B 153 von 255 = 60%
R + G + B ~ 54%. #9E6699 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
158 + 102 + 153 = 413 (100%)
R 158 von 413 ~ 38.26%
G 102 von 413 ~ 24.7%
B 153 von 413 ~ 37.05%
Die Farbe #9E6699 wird in CMYK als (0,35,3,38) definiert.
CMYK: (0,35,3,38) C0M35Y3K38 (0%,35%,3%,38%) (0.00/0.35/0.03/0.38)
9E | 66 | 99 | |
---|---|---|---|
RGB | 158 | 102 | 153 |
HSL | 305° | 22.40% | 50.98% |
HSB/HSV | 305° | 35.44% | 61.96% |
CMYK | 0.00% | 35.44% | 3.16% |
38.04% |
Hexadezimal | 9E | 66 | 99 |
Dezimal | 158 | 102 | 153 |
Binär | 10011110 | 1100110 | 10011001 |
Oktal | 236 | 146 | 231 |
Beispiele css- und html für Elemente in der Farbe #9E6699. Bitte benutzen Sie auch rgb(158,102,153) statt hex-Code.
.myTextColor { color: #9E6699; }
<p style="color:#9E6699">This sample text font color is #9E6699.</p>
Die Farbe dieses Textes ist #9E6699.
.myBgColor { background-color: #9E6699; }
<div style="background-color:#9E6699">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9E6699.
.myBorderColor { border: 1px solid #9E6699; }
<div style="border:3px solid #9E6699">Div</div>
Die Grenzen von diesem div sind in Farbe #9E6699.
.myOpacity80 { color: #9E6699; opacity: 0.8; }
<p style="color:#9E6699;opacity:0.8;">80%</p>
Text in Farbe #9E6699 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E6699;}
<p style="text-shadow: 3px 3px 1px #9E6699">Text here.</p>
Dieser Text hat den Schatten in Farbe #9E6699.
.textShadow {text-shadow: 3px 3px 1px #9E6699, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E6699, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9E6699 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E6699, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E6699, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E6699 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E6699; -webkit-box-shadow: 1px 1px 3px 2px #9E6699; box-shadow: 1px 1px 3px 2px #9E6699; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E6699; -webkit-box-shadow: 1px 1px 3px 2px #9E6699; box-shadow:1px 1px 3px 2px #9E6699;">
Div content here</div>
Dieser Text ist in der Farbe #9E6699 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9E6699 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9E6699.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9E6699.