HEX: #9B8CC5
RGB: (155,140,197)
#9B8CC5 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9B8CC5 ist eine «websichere» Webfarbe #9999CC (oder kurz #99C).
Die Farbe #9B8CC5 wird in RGB als (155,140,197) definiert.
RGB: (155,140,197) (61%,55%,77%)
R 155 von 255 = 61%
G 140 von 255 = 55%
B 197 von 255 = 77%
R + G + B ~ 64%. #9B8CC5 ziemlich helle Farbe.
R + G + B =
155 + 140 + 197 = 492 (100%)
R 155 von 492 ~ 31.5%
G 140 von 492 ~ 28.46%
B 197 von 492 ~ 40.04%
Die Farbe #9B8CC5 wird in CMYK als (21,29,0,23) definiert.
CMYK: (21,29,0,23) C21M29Y0K23 (21%,29%,0%,23%) (0.21/0.29/0.00/0.23)
9B | 8C | C5 | |
---|---|---|---|
RGB | 155 | 140 | 197 |
HSL | 256° | 32.95% | 66.08% |
HSB/HSV | 256° | 28.93% | 77.25% |
CMYK | 21.32% | 28.93% | 0.00% |
22.75% |
Hexadezimal | 9B | 8C | C5 |
Dezimal | 155 | 140 | 197 |
Binär | 10011011 | 10001100 | 11000101 |
Oktal | 233 | 214 | 305 |
Beispiele css- und html für Elemente in der Farbe #9B8CC5. Bitte benutzen Sie auch rgb(155,140,197) statt hex-Code.
.myTextColor { color: #9B8CC5; }
<p style="color:#9B8CC5">This sample text font color is #9B8CC5.</p>
Die Farbe dieses Textes ist #9B8CC5.
.myBgColor { background-color: #9B8CC5; }
<div style="background-color:#9B8CC5">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B8CC5.
.myBorderColor { border: 1px solid #9B8CC5; }
<div style="border:3px solid #9B8CC5">Div</div>
Die Grenzen von diesem div sind in Farbe #9B8CC5.
.myOpacity80 { color: #9B8CC5; opacity: 0.8; }
<p style="color:#9B8CC5;opacity:0.8;">80%</p>
Text in Farbe #9B8CC5 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B8CC5;}
<p style="text-shadow: 3px 3px 1px #9B8CC5">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B8CC5.
.textShadow {text-shadow: 3px 3px 1px #9B8CC5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B8CC5, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B8CC5 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B8CC5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B8CC5, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B8CC5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B8CC5; -webkit-box-shadow: 1px 1px 3px 2px #9B8CC5; box-shadow: 1px 1px 3px 2px #9B8CC5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B8CC5; -webkit-box-shadow: 1px 1px 3px 2px #9B8CC5; box-shadow:1px 1px 3px 2px #9B8CC5;">
Div content here</div>
Dieser Text ist in der Farbe #9B8CC5 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B8CC5 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B8CC5.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B8CC5.