HEX: #9D5195
RGB: (157,81,149)
#9D5195 enthält hauptsächlich rote und blaue Farbe. Für #9D5195 ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9D5195 wird in RGB als (157,81,149) definiert.
RGB: (157,81,149) (62%,32%,58%)
R 157 von 255 = 62%
G 81 von 255 = 32%
B 149 von 255 = 58%
R + G + B ~ 51%. #9D5195 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
157 + 81 + 149 = 387 (100%)
R 157 von 387 ~ 40.57%
G 81 von 387 ~ 20.93%
B 149 von 387 ~ 38.5%
Die Farbe #9D5195 wird in CMYK als (0,48,5,38) definiert.
CMYK: (0,48,5,38) C0M48Y5K38 (0%,48%,5%,38%) (0.00/0.48/0.05/0.38)
9D | 51 | 95 | |
---|---|---|---|
RGB | 157 | 81 | 149 |
HSL | 306° | 31.93% | 46.67% |
HSB/HSV | 306° | 48.41% | 61.57% |
CMYK | 0.00% | 48.41% | 5.10% |
38.43% |
Hexadezimal | 9D | 51 | 95 |
Dezimal | 157 | 81 | 149 |
Binär | 10011101 | 1010001 | 10010101 |
Oktal | 235 | 121 | 225 |
Beispiele css- und html für Elemente in der Farbe #9D5195. Bitte benutzen Sie auch rgb(157,81,149) statt hex-Code.
.myTextColor { color: #9D5195; }
<p style="color:#9D5195">This sample text font color is #9D5195.</p>
Die Farbe dieses Textes ist #9D5195.
.myBgColor { background-color: #9D5195; }
<div style="background-color:#9D5195">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9D5195.
.myBorderColor { border: 1px solid #9D5195; }
<div style="border:3px solid #9D5195">Div</div>
Die Grenzen von diesem div sind in Farbe #9D5195.
.myOpacity80 { color: #9D5195; opacity: 0.8; }
<p style="color:#9D5195;opacity:0.8;">80%</p>
Text in Farbe #9D5195 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D5195;}
<p style="text-shadow: 3px 3px 1px #9D5195">Text here.</p>
Dieser Text hat den Schatten in Farbe #9D5195.
.textShadow {text-shadow: 3px 3px 1px #9D5195, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D5195, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9D5195 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D5195, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D5195, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D5195 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D5195; -webkit-box-shadow: 1px 1px 3px 2px #9D5195; box-shadow: 1px 1px 3px 2px #9D5195; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D5195; -webkit-box-shadow: 1px 1px 3px 2px #9D5195; box-shadow:1px 1px 3px 2px #9D5195;">
Div content here</div>
Dieser Text ist in der Farbe #9D5195 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9D5195 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9D5195.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9D5195.