HEX: #8C787B
RGB: (140,120,123)
#8C787B enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #8C787B ist eine «websichere» Webfarbe #996666 (oder kurz #966).
Die Farbe #8C787B wird in RGB als (140,120,123) definiert.
RGB: (140,120,123) (55%,47%,48%)
R 140 von 255 = 55%
G 120 von 255 = 47%
B 123 von 255 = 48%
R + G + B ~ 50%. #8C787B mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
140 + 120 + 123 = 383 (100%)
R 140 von 383 ~ 36.55%
G 120 von 383 ~ 31.33%
B 123 von 383 ~ 32.11%
Die Farbe #8C787B wird in CMYK als (0,14,12,45) definiert.
CMYK: (0,14,12,45) C0M14Y12K45 (0%,14%,12%,45%) (0.00/0.14/0.12/0.45)
8C | 78 | 7B | |
---|---|---|---|
RGB | 140 | 120 | 123 |
HSL | 351° | 8.00% | 50.98% |
HSB/HSV | 351° | 14.29% | 54.90% |
CMYK | 0.00% | 14.29% | 12.14% |
45.10% |
Hexadezimal | 8C | 78 | 7B |
Dezimal | 140 | 120 | 123 |
Binär | 10001100 | 1111000 | 1111011 |
Oktal | 214 | 170 | 173 |
Beispiele css- und html für Elemente in der Farbe #8C787B. Bitte benutzen Sie auch rgb(140,120,123) statt hex-Code.
.myTextColor { color: #8C787B; }
<p style="color:#8C787B">This sample text font color is #8C787B.</p>
Die Farbe dieses Textes ist #8C787B.
.myBgColor { background-color: #8C787B; }
<div style="background-color:#8C787B">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #8C787B.
.myBorderColor { border: 1px solid #8C787B; }
<div style="border:3px solid #8C787B">Div</div>
Die Grenzen von diesem div sind in Farbe #8C787B.
.myOpacity80 { color: #8C787B; opacity: 0.8; }
<p style="color:#8C787B;opacity:0.8;">80%</p>
Text in Farbe #8C787B und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8C787B;}
<p style="text-shadow: 3px 3px 1px #8C787B">Text here.</p>
Dieser Text hat den Schatten in Farbe #8C787B.
.textShadow {text-shadow: 3px 3px 1px #8C787B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8C787B, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #8C787B und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C787B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8C787B, Direction=45, Strength=4)">Text</p>
This text has shadow with #8C787B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8C787B; -webkit-box-shadow: 1px 1px 3px 2px #8C787B; box-shadow: 1px 1px 3px 2px #8C787B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8C787B; -webkit-box-shadow: 1px 1px 3px 2px #8C787B; box-shadow:1px 1px 3px 2px #8C787B;">
Div content here</div>
Dieser Text ist in der Farbe #8C787B auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #8C787B auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #8C787B.
Dieser Text ist weiß auf dem Hintergrund in Farbe #8C787B.