HEX: #9B788C
RGB: (155,120,140)
#9B788C enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #9B788C ist eine «websichere» Webfarbe #996699 (oder kurz #969).
Die Farbe #9B788C wird in RGB als (155,120,140) definiert.
RGB: (155,120,140) (61%,47%,55%)
R 155 von 255 = 61%
G 120 von 255 = 47%
B 140 von 255 = 55%
R + G + B ~ 54%. #9B788C mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
155 + 120 + 140 = 415 (100%)
R 155 von 415 ~ 37.35%
G 120 von 415 ~ 28.92%
B 140 von 415 ~ 33.73%
Die Farbe #9B788C wird in CMYK als (0,23,10,39) definiert.
CMYK: (0,23,10,39) C0M23Y10K39 (0%,23%,10%,39%) (0.00/0.23/0.10/0.39)
9B | 78 | 8C | |
---|---|---|---|
RGB | 155 | 120 | 140 |
HSL | 326° | 14.89% | 53.92% |
HSB/HSV | 326° | 22.58% | 60.78% |
CMYK | 0.00% | 22.58% | 9.68% |
39.22% |
Hexadezimal | 9B | 78 | 8C |
Dezimal | 155 | 120 | 140 |
Binär | 10011011 | 1111000 | 10001100 |
Oktal | 233 | 170 | 214 |
Beispiele css- und html für Elemente in der Farbe #9B788C. Bitte benutzen Sie auch rgb(155,120,140) statt hex-Code.
.myTextColor { color: #9B788C; }
<p style="color:#9B788C">This sample text font color is #9B788C.</p>
Die Farbe dieses Textes ist #9B788C.
.myBgColor { background-color: #9B788C; }
<div style="background-color:#9B788C">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #9B788C.
.myBorderColor { border: 1px solid #9B788C; }
<div style="border:3px solid #9B788C">Div</div>
Die Grenzen von diesem div sind in Farbe #9B788C.
.myOpacity80 { color: #9B788C; opacity: 0.8; }
<p style="color:#9B788C;opacity:0.8;">80%</p>
Text in Farbe #9B788C und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9B788C;}
<p style="text-shadow: 3px 3px 1px #9B788C">Text here.</p>
Dieser Text hat den Schatten in Farbe #9B788C.
.textShadow {text-shadow: 3px 3px 1px #9B788C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9B788C, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #9B788C und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9B788C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9B788C, Direction=45, Strength=4)">Text</p>
This text has shadow with #9B788C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9B788C; -webkit-box-shadow: 1px 1px 3px 2px #9B788C; box-shadow: 1px 1px 3px 2px #9B788C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9B788C; -webkit-box-shadow: 1px 1px 3px 2px #9B788C; box-shadow:1px 1px 3px 2px #9B788C;">
Div content here</div>
Dieser Text ist in der Farbe #9B788C auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #9B788C auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #9B788C.
Dieser Text ist weiß auf dem Hintergrund in Farbe #9B788C.