HEX: #787B9A
RGB: (120,123,154)
#787B9A enthält rote, grüne und blaue Farben ungefähr im gleichen Verhältnis. Für #787B9A ist eine «websichere» Webfarbe #666699 (oder kurz #669).
Die Farbe #787B9A wird in RGB als (120,123,154) definiert.
RGB: (120,123,154) (47%,48%,60%)
R 120 von 255 = 47%
G 123 von 255 = 48%
B 154 von 255 = 60%
R + G + B ~ 52%. #787B9A mittlere Farbe (nicht dunkel und nicht hell).
R + G + B =
120 + 123 + 154 = 397 (100%)
R 120 von 397 ~ 30.23%
G 123 von 397 ~ 30.98%
B 154 von 397 ~ 38.79%
Die Farbe #787B9A wird in CMYK als (22,20,0,40) definiert.
CMYK: (22,20,0,40) C22M20Y0K40 (22%,20%,0%,40%) (0.22/0.20/0.00/0.40)
78 | 7B | 9A | |
---|---|---|---|
RGB | 120 | 123 | 154 |
HSL | 235° | 14.41% | 53.73% |
HSB/HSV | 235° | 22.08% | 60.39% |
CMYK | 22.08% | 20.13% | 0.00% |
39.61% |
Hexadezimal | 78 | 7B | 9A |
Dezimal | 120 | 123 | 154 |
Binär | 1111000 | 1111011 | 10011010 |
Oktal | 170 | 173 | 232 |
Beispiele css- und html für Elemente in der Farbe #787B9A. Bitte benutzen Sie auch rgb(120,123,154) statt hex-Code.
.myTextColor { color: #787B9A; }
<p style="color:#787B9A">This sample text font color is #787B9A.</p>
Die Farbe dieses Textes ist #787B9A.
.myBgColor { background-color: #787B9A; }
<div style="background-color:#787B9A">Inner text</div>
Der Hintergrund von diesem div ist in Farbe #787B9A.
.myBorderColor { border: 1px solid #787B9A; }
<div style="border:3px solid #787B9A">Div</div>
Die Grenzen von diesem div sind in Farbe #787B9A.
.myOpacity80 { color: #787B9A; opacity: 0.8; }
<p style="color:#787B9A;opacity:0.8;">80%</p>
Text in Farbe #787B9A und mit Transparenz 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787B9A;}
<p style="text-shadow: 3px 3px 1px #787B9A">Text here.</p>
Dieser Text hat den Schatten in Farbe #787B9A.
.textShadow {text-shadow: 3px 3px 1px #787B9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787B9A, 5px 5px 20px red">Text here.</p>
Dieser Text hat den Schatten in Grundfarbe #787B9A und zusätzlichem Rot.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787B9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787B9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #787B9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787B9A; -webkit-box-shadow: 1px 1px 3px 2px #787B9A; box-shadow: 1px 1px 3px 2px #787B9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787B9A; -webkit-box-shadow: 1px 1px 3px 2px #787B9A; box-shadow:1px 1px 3px 2px #787B9A;">
Div content here</div>
Dieser Text ist in der Farbe #787B9A auf dem schwarzen Hintergrund.
Dieser Text ist in Farbe #787B9A auf dem weißen Hintergrund.
Dieser Text ist schwarz auf dem Hintergrund in Farbe #787B9A.
Dieser Text ist weiß auf dem Hintergrund in Farbe #787B9A.