HEX: #9B5DCF
RGB: (155,93,207)
#9B5DCF enthält hauptsächlich rote und blaue Farbe. Für #9B5DCF ist eine «websichere» Webfarbe #9966CC (oder kurz #96C).
Die Farbe #9B5DCF wird in RGB als (155,93,207) definiert.
RGB: (155,93,207) (61%,36%,81%)
R 155 von 255 = 61%
G 93 von 255 = 36%
B 207 von 255 = 81%
R + G + B ~ 59%. #9B5DCF mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 93 + 207 = 455 (100%)
R 155 von 455 ~ 34.07%
G 93 von 455 ~ 20.44%
B 207 von 455 ~ 45.49%
Die Farbe #9B5DCF wird in CMYK als (25,55,0,19) definiert.
CMYK: (25,55,0,19) C25M55Y0K19 (25%,55%,0%,19%) (0.25/0.55/0.00/0.19)
9B | 5D | CF | |
---|---|---|---|
RGB | 155 | 93 | 207 |
HSL | 273° | 54.29% | 58.82% |
HSB/HSV | 273° | 55.07% | 81.18% |
CMYK | 25.12% | 55.07% | 0.00% |
18.82% |
Hexadezimal | 9B | 5D | CF |
Dezimal | 155 | 93 | 207 |
Binär | 10011011 | 1011101 | 11001111 |
Oktal | 233 | 135 | 317 |
Beispiele css- und html für Elemente in der Farbe #9B5DCF. Bitte benutzen Sie auch rgb(155,93,207) statt hex-Code.
.myTextColor { color: #9B5DCF; }
<p style="color:#9B5DCF">This sample text font color is #9B5DCF.</p>
Die Farbe dieses Textes ist #9B5DCF.
.myBgColor { background-color: #9B5DCF; }
<div style="background-color:#9B5DCF">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B5DCF.
.myBorderColor { border: 1px solid #9B5DCF; }
<div style="border:3px solid #9B5DCF">Div</div>
Die Grenzen von diesem div sind in Farbe #9B5DCF.
.myOpacity80 { color: #9B5DCF; opacity: 0.8; }
<p style="color:#9B5DCF;opacity:0.8;">80%</p>
Text in Farbe #9B5DCF und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B5DCF;}
<p style="text-shadow: 3px 3px 1px #9B5DCF">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B5DCF.
.textShadow {text-shadow: 3px 3px 1px #9B5DCF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B5DCF, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B5DCF und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B5DCF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B5DCF, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B5DCF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B5DCF; -webkit-box-shadow: 1px 1px 3px 2px #9B5DCF; box-shadow: 1px 1px 3px 2px #9B5DCF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B5DCF; -webkit-box-shadow: 1px 1px 3px 2px #9B5DCF; box-shadow:1px 1px 3px 2px #9B5DCF;">
Div content here</div>
Dieser Text ist in der Farbe #9B5DCF auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B5DCF auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B5DCF.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B5DCF.