HEX: #787B87
RGB: (120,123,135)
#787B87 enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #787B87 ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #787B87 wird in RGB als (120,123,135) definiert.
RGB: (120,123,135) (47%,48%,53%)
R 120 von 255 = 47%
G 123 von 255 = 48%
B 135 von 255 = 53%
R + G + B ~ 49%. #787B87 mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
120 + 123 + 135 = 378 (100%)
R 120 von 378 ~ 31.75%
G 123 von 378 ~ 32.54%
B 135 von 378 ~ 35.71%
Die Farbe #787B87 wird in CMYK als (11,9,0,47) definiert.
CMYK: (11,9,0,47) C11M9Y0K47 (11%,9%,0%,47%) (0.11/0.09/0.00/0.47)
78 | 7B | 87 | |
---|---|---|---|
RGB | 120 | 123 | 135 |
HSL | 228° | 5.88% | 50.00% |
HSB/HSV | 228° | 11.11% | 52.94% |
CMYK | 11.11% | 8.89% | 0.00% |
47.06% |
Hexadezimal | 78 | 7B | 87 |
Dezimal | 120 | 123 | 135 |
Binär | 1111000 | 1111011 | 10000111 |
Oktal | 170 | 173 | 207 |
Beispiele css- und html für Elemente in der Farbe #787B87. Bitte benutzen Sie auch rgb(120,123,135) statt hex-Code.
.myTextColor { color: #787B87; }
<p style="color:#787B87">This sample text font color is #787B87.</p>
Die Farbe dieses Textes ist #787B87.
.myBgColor { background-color: #787B87; }
<div style="background-color:#787B87">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #787B87.
.myBorderColor { border: 1px solid #787B87; }
<div style="border:3px solid #787B87">Div</div>
Die Grenzen von diesem div sind in Farbe #787B87.
.myOpacity80 { color: #787B87; opacity: 0.8; }
<p style="color:#787B87;opacity:0.8;">80%</p>
Text in Farbe #787B87 und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787B87;}
<p style="text-shadow: 3px 3px 1px #787B87">Text here.</p>
Dieser Text hat den Schatten in Farbe #787B87.
.textShadow {text-shadow: 3px 3px 1px #787B87, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787B87, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #787B87 und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787B87, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787B87, Direction=45, Strength=4)">Text</p>
This text has shadow with #787B87 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787B87; -webkit-box-shadow: 1px 1px 3px 2px #787B87; box-shadow: 1px 1px 3px 2px #787B87; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787B87; -webkit-box-shadow: 1px 1px 3px 2px #787B87; box-shadow:1px 1px 3px 2px #787B87;">
Div content here</div>
Dieser Text ist in der Farbe #787B87 auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #787B87 auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #787B87.
Dieser Text ist weiß auf dem Hintergrund in Farbe #787B87.