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