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