HEX: #787B8E
RGB: (120,123,142)
#787B8E enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #787B8E ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #787B8E wird in RGB als (120,123,142) definiert.
RGB: (120,123,142) (47%,48%,56%)
R 120 von 255 = 47%
G 123 von 255 = 48%
B 142 von 255 = 56%
R + G + B ~ 50%. #787B8E mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
120 + 123 + 142 = 385 (100%)
R 120 von 385 ~ 31.17%
G 123 von 385 ~ 31.95%
B 142 von 385 ~ 36.88%
Die Farbe #787B8E wird in CMYK als (15,13,0,44) definiert.
CMYK: (15,13,0,44) C15M13Y0K44 (15%,13%,0%,44%) (0.15/0.13/0.00/0.44)
78 | 7B | 8E | |
---|---|---|---|
RGB | 120 | 123 | 142 |
HSL | 232° | 8.87% | 51.37% |
HSB/HSV | 232° | 15.49% | 55.69% |
CMYK | 15.49% | 13.38% | 0.00% |
44.31% |
Hexadezimal | 78 | 7B | 8E |
Dezimal | 120 | 123 | 142 |
Binär | 1111000 | 1111011 | 10001110 |
Oktal | 170 | 173 | 216 |
Beispiele css- und html für Elemente in der Farbe #787B8E. Bitte benutzen Sie auch rgb(120,123,142) statt hex-Code.
.myTextColor { color: #787B8E; }
<p style="color:#787B8E">This sample text font color is #787B8E.</p>
Die Farbe dieses Textes ist #787B8E.
.myBgColor { background-color: #787B8E; }
<div style="background-color:#787B8E">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #787B8E.
.myBorderColor { border: 1px solid #787B8E; }
<div style="border:3px solid #787B8E">Div</div>
Die Grenzen von diesem div sind in Farbe #787B8E.
.myOpacity80 { color: #787B8E; opacity: 0.8; }
<p style="color:#787B8E;opacity:0.8;">80%</p>
Text in Farbe #787B8E und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787B8E;}
<p style="text-shadow: 3px 3px 1px #787B8E">Text here.</p>
Dieser Text hat den Schatten in Farbe #787B8E.
.textShadow {text-shadow: 3px 3px 1px #787B8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787B8E, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #787B8E und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787B8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787B8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #787B8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787B8E; -webkit-box-shadow: 1px 1px 3px 2px #787B8E; box-shadow: 1px 1px 3px 2px #787B8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787B8E; -webkit-box-shadow: 1px 1px 3px 2px #787B8E; box-shadow:1px 1px 3px 2px #787B8E;">
Div content here</div>
Dieser Text ist in der Farbe #787B8E auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #787B8E auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #787B8E.
Dieser Text ist weiß auf dem Hintergrund in Farbe #787B8E.