HEX: #9B507B
RGB: (155,80,123)
#9B507B enthält hauptsächlich rote und blaue Farbe. Für #9B507B ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #9B507B wird in RGB als (155,80,123) definiert.
RGB: (155,80,123) (61%,31%,48%)
R 155 von 255 = 61%
G 80 von 255 = 31%
B 123 von 255 = 48%
R + G + B ~ 47%. #9B507B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 80 + 123 = 358 (100%)
R 155 von 358 ~ 43.3%
G 80 von 358 ~ 22.35%
B 123 von 358 ~ 34.36%
Die Farbe #9B507B wird in CMYK als (0,48,21,39) definiert.
CMYK: (0,48,21,39) C0M48Y21K39 (0%,48%,21%,39%) (0.00/0.48/0.21/0.39)
9B | 50 | 7B | |
---|---|---|---|
RGB | 155 | 80 | 123 |
HSL | 326° | 31.91% | 46.08% |
HSB/HSV | 326° | 48.39% | 60.78% |
CMYK | 0.00% | 48.39% | 20.65% |
39.22% |
Hexadezimal | 9B | 50 | 7B |
Dezimal | 155 | 80 | 123 |
Binär | 10011011 | 1010000 | 1111011 |
Oktal | 233 | 120 | 173 |
Beispiele css- und html für Elemente in der Farbe #9B507B. Bitte benutzen Sie auch rgb(155,80,123) statt hex-Code.
.myTextColor { color: #9B507B; }
<p style="color:#9B507B">This sample text font color is #9B507B.</p>
Die Farbe dieses Textes ist #9B507B.
.myBgColor { background-color: #9B507B; }
<div style="background-color:#9B507B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B507B.
.myBorderColor { border: 1px solid #9B507B; }
<div style="border:3px solid #9B507B">Div</div>
Die Grenzen von diesem div sind in Farbe #9B507B.
.myOpacity80 { color: #9B507B; opacity: 0.8; }
<p style="color:#9B507B;opacity:0.8;">80%</p>
Text in Farbe #9B507B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B507B;}
<p style="text-shadow: 3px 3px 1px #9B507B">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B507B.
.textShadow {text-shadow: 3px 3px 1px #9B507B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B507B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B507B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B507B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B507B, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B507B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B507B; -webkit-box-shadow: 1px 1px 3px 2px #9B507B; box-shadow: 1px 1px 3px 2px #9B507B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B507B; -webkit-box-shadow: 1px 1px 3px 2px #9B507B; box-shadow:1px 1px 3px 2px #9B507B;">
Div content here</div>
Dieser Text ist in der Farbe #9B507B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B507B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B507B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B507B.