HEX: #787A7D
RGB: (120,122,125)
#787A7D enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #787A7D ist eine «websichere» Webfarbe #666666 (oder kurz #666).
Die Farbe #787A7D wird in RGB als (120,122,125) definiert.
RGB: (120,122,125) (47%,48%,49%)
R 120 von 255 = 47%
G 122 von 255 = 48%
B 125 von 255 = 49%
R + G + B ~ 48%. #787A7D mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
120 + 122 + 125 = 367 (100%)
R 120 von 367 ~ 32.7%
G 122 von 367 ~ 33.24%
B 125 von 367 ~ 34.06%
Die Farbe #787A7D wird in CMYK als (4,2,0,51) definiert.
CMYK: (4,2,0,51) C4M2Y0K51 (4%,2%,0%,51%) (0.04/0.02/0.00/0.51)
78 | 7A | 7D | |
---|---|---|---|
RGB | 120 | 122 | 125 |
HSL | 216° | 2.04% | 48.04% |
HSB/HSV | 216° | 4.00% | 49.02% |
CMYK | 4.00% | 2.40% | 0.00% |
50.98% |
Hexadezimal | 78 | 7A | 7D |
Dezimal | 120 | 122 | 125 |
Binär | 1111000 | 1111010 | 1111101 |
Oktal | 170 | 172 | 175 |
Beispiele css- und html für Elemente in der Farbe #787A7D. Bitte benutzen Sie auch rgb(120,122,125) statt hex-Code.
.myTextColor { color: #787A7D; }
<p style="color:#787A7D">This sample text font color is #787A7D.</p>
Die Farbe dieses Textes ist #787A7D.
.myBgColor { background-color: #787A7D; }
<div style="background-color:#787A7D">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #787A7D.
.myBorderColor { border: 1px solid #787A7D; }
<div style="border:3px solid #787A7D">Div</div>
Die Grenzen von diesem div sind in Farbe #787A7D.
.myOpacity80 { color: #787A7D; opacity: 0.8; }
<p style="color:#787A7D;opacity:0.8;">80%</p>
Text in Farbe #787A7D und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787A7D;}
<p style="text-shadow: 3px 3px 1px #787A7D">Text here.</p>
Dieser Text hat den Schatten in Farbe #787A7D.
.textShadow {text-shadow: 3px 3px 1px #787A7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787A7D, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #787A7D und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787A7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787A7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #787A7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787A7D; -webkit-box-shadow: 1px 1px 3px 2px #787A7D; box-shadow: 1px 1px 3px 2px #787A7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787A7D; -webkit-box-shadow: 1px 1px 3px 2px #787A7D; box-shadow:1px 1px 3px 2px #787A7D;">
Div content here</div>
Dieser Text ist in der Farbe #787A7D auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #787A7D auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #787A7D.
Dieser Text ist weiß auf dem Hintergrund in Farbe #787A7D.