HEX: #9E5496
RGB: (158,84,150)
#9E5496 enthält hauptsächlich rote und blaue Farbe. Für #9E5496 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9E5496 wird in RGB als (158,84,150) definiert.
RGB: (158,84,150) (62%,33%,59%)
R 158 von 255 = 62%
G 84 von 255 = 33%
B 150 von 255 = 59%
R + G + B ~ 51%. #9E5496 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
158 + 84 + 150 = 392 (100%)
R 158 von 392 ~ 40.31%
G 84 von 392 ~ 21.43%
B 150 von 392 ~ 38.27%
Die Farbe #9E5496 wird in CMYK als (0,47,5,38) definiert.
CMYK: (0,47,5,38) C0M47Y5K38 (0%,47%,5%,38%) (0.00/0.47/0.05/0.38)
9E | 54 | 96 | |
---|---|---|---|
RGB | 158 | 84 | 150 |
HSL | 306° | 30.58% | 47.45% |
HSB/HSV | 306° | 46.84% | 61.96% |
CMYK | 0.00% | 46.84% | 5.06% |
38.04% |
Hexadezimal | 9E | 54 | 96 |
Dezimal | 158 | 84 | 150 |
Binär | 10011110 | 1010100 | 10010110 |
Oktal | 236 | 124 | 226 |
Beispiele css- und html für Elemente in der Farbe #9E5496. Bitte benutzen Sie auch rgb(158,84,150) statt hex-Code.
.myTextColor { color: #9E5496; }
<p style="color:#9E5496">This sample text font color is #9E5496.</p>
Die Farbe dieses Textes ist #9E5496.
.myBgColor { background-color: #9E5496; }
<div style="background-color:#9E5496">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9E5496.
.myBorderColor { border: 1px solid #9E5496; }
<div style="border:3px solid #9E5496">Div</div>
Die Grenzen von diesem div sind in Farbe #9E5496.
.myOpacity80 { color: #9E5496; opacity: 0.8; }
<p style="color:#9E5496;opacity:0.8;">80%</p>
Text in Farbe #9E5496 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9E5496;}
<p style="text-shadow: 3px 3px 1px #9E5496">Text here.</p>
Dieser Text hat den Schatten in Farbe #9E5496.
.textShadow {text-shadow: 3px 3px 1px #9E5496, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9E5496, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9E5496 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9E5496, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9E5496, Direction=45, Strength=4)">Text</p>
This text has shadow with #9E5496 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9E5496; -webkit-box-shadow: 1px 1px 3px 2px #9E5496; box-shadow: 1px 1px 3px 2px #9E5496; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9E5496; -webkit-box-shadow: 1px 1px 3px 2px #9E5496; box-shadow:1px 1px 3px 2px #9E5496;">
Div content here</div>
Dieser Text ist in der Farbe #9E5496 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9E5496 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9E5496.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9E5496.