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