HEX: #787D8E
RGB: (120,125,142)
Il colore #787D8E contiene il rosso, il verde e il blu in proporzioni più o meno uguali. Per il #787D8E il colore web safe è #666699 (#669).
Il colore 787D8E in RGB è definito come 120,125,142
RGB: (120,125,142) (47%,49%,56%)
R 120 da 255 = 47%
G 125 da 255 = 49%
B 142 da 255 = 56%
R + G + B ~ 51%. #787D8E colore medio (né scuro né chiaro).
R + G + B =
120 + 125 + 142 = 387 (100%)
R 120 da 387 ~ 31.01%
G 125 da 387 ~ 32.3%
B 142 da 387 ~ 36.69%
Il colore #787D8E in CMYK è definito come 15,12,0,44.
CMYK: (15,12,0,44) C15M12Y0K44 (15%,12%,0%,44%) (0.15/0.12/0.00/0.44)
78 | 7D | 8E | |
---|---|---|---|
RGB | 120 | 125 | 142 |
HSL | 226° | 8.87% | 51.37% |
HSB/HSV | 226° | 15.49% | 55.69% |
CMYK | 15.49% | 11.97% | 0.00% |
44.31% |
Esadicemale | 78 | 7D | 8E |
Decimale | 120 | 125 | 142 |
Binario | 1111000 | 1111101 | 10001110 |
Ottale | 170 | 175 | 216 |
Esempi dei codici css e html per gli elementi di colore #787D8E. Utilizzate rgb(120,125,142) anche al posto del codice hex.
.myTextColor { color: #787D8E; }
<p style="color:#787D8E">This sample text font color is #787D8E.</p>
Il colore di questo testo è #787D8E.
.myBgColor { background-color: #787D8E; }
<div style="background-color:#787D8E">Inner text</div>
Questo div ha lo sfondo di colore #787D8E.
.myBorderColor { border: 1px solid #787D8E; }
<div style="border:3px solid #787D8E">Div</div>
Questo div ha i bordi di colore 787D8E.
.myOpacity80 { color: #787D8E; opacity: 0.8; }
<p style="color:#787D8E;opacity:0.8;">80%</p>
Il testo di color #787D8E e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787D8E;}
<p style="text-shadow: 3px 3px 1px #787D8E">Text here.</p>
Questo testo ha l'ombra di colore #787D8E.
.textShadow {text-shadow: 3px 3px 1px #787D8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787D8E, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #787D8E e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787D8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787D8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #787D8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787D8E; -webkit-box-shadow: 1px 1px 3px 2px #787D8E; box-shadow: 1px 1px 3px 2px #787D8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787D8E; -webkit-box-shadow: 1px 1px 3px 2px #787D8E; box-shadow:1px 1px 3px 2px #787D8E;">
Div content here</div>
Questo e il testo di colore #787D8E sullo sfondo nero.
Questo e il testo di colore #787D8E sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #787D8E.
Questo è un testo bianco sullo sfondo del colore #787D8E.