HEX: #9D5D8B
RGB: (157,93,139)
#9D5D8B enthält hauptsächlich rote und blaue Farbe. Für #9D5D8B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9D5D8B wird in RGB als (157,93,139) definiert.
RGB: (157,93,139) (62%,36%,55%)
R 157 von 255 = 62%
G 93 von 255 = 36%
B 139 von 255 = 55%
R + G + B ~ 51%. #9D5D8B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
157 + 93 + 139 = 389 (100%)
R 157 von 389 ~ 40.36%
G 93 von 389 ~ 23.91%
B 139 von 389 ~ 35.73%
Die Farbe #9D5D8B wird in CMYK als (0,41,11,38) definiert.
CMYK: (0,41,11,38) C0M41Y11K38 (0%,41%,11%,38%) (0.00/0.41/0.11/0.38)
9D | 5D | 8B | |
---|---|---|---|
RGB | 157 | 93 | 139 |
HSL | 317° | 25.60% | 49.02% |
HSB/HSV | 317° | 40.76% | 61.57% |
CMYK | 0.00% | 40.76% | 11.46% |
38.43% |
Hexadezimal | 9D | 5D | 8B |
Dezimal | 157 | 93 | 139 |
Binär | 10011101 | 1011101 | 10001011 |
Oktal | 235 | 135 | 213 |
Beispiele css- und html für Elemente in der Farbe #9D5D8B. Bitte benutzen Sie auch rgb(157,93,139) statt hex-Code.
.myTextColor { color: #9D5D8B; }
<p style="color:#9D5D8B">This sample text font color is #9D5D8B.</p>
Die Farbe dieses Textes ist #9D5D8B.
.myBgColor { background-color: #9D5D8B; }
<div style="background-color:#9D5D8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9D5D8B.
.myBorderColor { border: 1px solid #9D5D8B; }
<div style="border:3px solid #9D5D8B">Div</div>
Die Grenzen von diesem div sind in Farbe #9D5D8B.
.myOpacity80 { color: #9D5D8B; opacity: 0.8; }
<p style="color:#9D5D8B;opacity:0.8;">80%</p>
Text in Farbe #9D5D8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D5D8B;}
<p style="text-shadow: 3px 3px 1px #9D5D8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #9D5D8B.
.textShadow {text-shadow: 3px 3px 1px #9D5D8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D5D8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9D5D8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D5D8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D5D8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D5D8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D5D8B; -webkit-box-shadow: 1px 1px 3px 2px #9D5D8B; box-shadow: 1px 1px 3px 2px #9D5D8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D5D8B; -webkit-box-shadow: 1px 1px 3px 2px #9D5D8B; box-shadow:1px 1px 3px 2px #9D5D8B;">
Div content here</div>
Dieser Text ist in der Farbe #9D5D8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9D5D8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9D5D8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9D5D8B.