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