HEX: #9B5F8B
RGB: (155,95,139)
#9B5F8B enthält hauptsächlich rote und blaue Farbe. Für #9B5F8B ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9B5F8B wird in RGB als (155,95,139) definiert.
RGB: (155,95,139) (61%,37%,55%)
R 155 von 255 = 61%
G 95 von 255 = 37%
B 139 von 255 = 55%
R + G + B ~ 51%. #9B5F8B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 95 + 139 = 389 (100%)
R 155 von 389 ~ 39.85%
G 95 von 389 ~ 24.42%
B 139 von 389 ~ 35.73%
Die Farbe #9B5F8B wird in CMYK als (0,39,10,39) definiert.
CMYK: (0,39,10,39) C0M39Y10K39 (0%,39%,10%,39%) (0.00/0.39/0.10/0.39)
9B | 5F | 8B | |
---|---|---|---|
RGB | 155 | 95 | 139 |
HSL | 316° | 24.00% | 49.02% |
HSB/HSV | 316° | 38.71% | 60.78% |
CMYK | 0.00% | 38.71% | 10.32% |
39.22% |
Hexadezimal | 9B | 5F | 8B |
Dezimal | 155 | 95 | 139 |
Binär | 10011011 | 1011111 | 10001011 |
Oktal | 233 | 137 | 213 |
Beispiele css- und html für Elemente in der Farbe #9B5F8B. Bitte benutzen Sie auch rgb(155,95,139) statt hex-Code.
.myTextColor { color: #9B5F8B; }
<p style="color:#9B5F8B">This sample text font color is #9B5F8B.</p>
Die Farbe dieses Textes ist #9B5F8B.
.myBgColor { background-color: #9B5F8B; }
<div style="background-color:#9B5F8B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B5F8B.
.myBorderColor { border: 1px solid #9B5F8B; }
<div style="border:3px solid #9B5F8B">Div</div>
Die Grenzen von diesem div sind in Farbe #9B5F8B.
.myOpacity80 { color: #9B5F8B; opacity: 0.8; }
<p style="color:#9B5F8B;opacity:0.8;">80%</p>
Text in Farbe #9B5F8B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B5F8B;}
<p style="text-shadow: 3px 3px 1px #9B5F8B">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B5F8B.
.textShadow {text-shadow: 3px 3px 1px #9B5F8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B5F8B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B5F8B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B5F8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B5F8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B5F8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B5F8B; -webkit-box-shadow: 1px 1px 3px 2px #9B5F8B; box-shadow: 1px 1px 3px 2px #9B5F8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B5F8B; -webkit-box-shadow: 1px 1px 3px 2px #9B5F8B; box-shadow:1px 1px 3px 2px #9B5F8B;">
Div content here</div>
Dieser Text ist in der Farbe #9B5F8B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B5F8B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B5F8B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B5F8B.