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