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