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