HEX: #9D7496
RGB: (157,116,150)
#9D7496 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9D7496 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9D7496 wird in RGB als (157,116,150) definiert.
RGB: (157,116,150) (62%,45%,59%)
R 157 von 255 = 62%
G 116 von 255 = 45%
B 150 von 255 = 59%
R + G + B ~ 55%. #9D7496 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
157 + 116 + 150 = 423 (100%)
R 157 von 423 ~ 37.12%
G 116 von 423 ~ 27.42%
B 150 von 423 ~ 35.46%
Die Farbe #9D7496 wird in CMYK als (0,26,4,38) definiert.
CMYK: (0,26,4,38) C0M26Y4K38 (0%,26%,4%,38%) (0.00/0.26/0.04/0.38)
9D | 74 | 96 | |
---|---|---|---|
RGB | 157 | 116 | 150 |
HSL | 310° | 17.30% | 53.53% |
HSB/HSV | 310° | 26.11% | 61.57% |
CMYK | 0.00% | 26.11% | 4.46% |
38.43% |
Hexadezimal | 9D | 74 | 96 |
Dezimal | 157 | 116 | 150 |
Binär | 10011101 | 1110100 | 10010110 |
Oktal | 235 | 164 | 226 |
Beispiele css- und html für Elemente in der Farbe #9D7496. Bitte benutzen Sie auch rgb(157,116,150) statt hex-Code.
.myTextColor { color: #9D7496; }
<p style="color:#9D7496">This sample text font color is #9D7496.</p>
Die Farbe dieses Textes ist #9D7496.
.myBgColor { background-color: #9D7496; }
<div style="background-color:#9D7496">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9D7496.
.myBorderColor { border: 1px solid #9D7496; }
<div style="border:3px solid #9D7496">Div</div>
Die Grenzen von diesem div sind in Farbe #9D7496.
.myOpacity80 { color: #9D7496; opacity: 0.8; }
<p style="color:#9D7496;opacity:0.8;">80%</p>
Text in Farbe #9D7496 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D7496;}
<p style="text-shadow: 3px 3px 1px #9D7496">Text here.</p>
Dieser Text hat den Schatten in Farbe #9D7496.
.textShadow {text-shadow: 3px 3px 1px #9D7496, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D7496, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9D7496 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D7496, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D7496, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D7496 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D7496; -webkit-box-shadow: 1px 1px 3px 2px #9D7496; box-shadow: 1px 1px 3px 2px #9D7496; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D7496; -webkit-box-shadow: 1px 1px 3px 2px #9D7496; box-shadow:1px 1px 3px 2px #9D7496;">
Div content here</div>
Dieser Text ist in der Farbe #9D7496 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9D7496 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9D7496.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9D7496.