HEX: #4D51B6
RGB: (77,81,182)
Il colore #4D51B6 contiene principalmente il blu. Per il #4D51B6 il colore web safe è #3366CC (#36C).
Il colore 4D51B6 in RGB è definito come 77,81,182
RGB: (77,81,182) (30%,32%,71%)
R 77 da 255 = 30%
G 81 da 255 = 32%
B 182 da 255 = 71%
R + G + B ~ 44%. #4D51B6 colore medio (né scuro né chiaro).
R + G + B =
77 + 81 + 182 = 340 (100%)
R 77 da 340 ~ 22.65%
G 81 da 340 ~ 23.82%
B 182 da 340 ~ 53.53%
Il colore #4D51B6 in CMYK è definito come 58,55,0,29.
CMYK: (58,55,0,29) C58M55Y0K29 (58%,55%,0%,29%) (0.58/0.55/0.00/0.29)
4D | 51 | B6 | |
---|---|---|---|
RGB | 77 | 81 | 182 |
HSL | 238° | 41.83% | 50.78% |
HSB/HSV | 238° | 57.69% | 71.37% |
CMYK | 57.69% | 55.49% | 0.00% |
28.63% |
Esadicemale | 4D | 51 | B6 |
Decimale | 77 | 81 | 182 |
Binario | 1001101 | 1010001 | 10110110 |
Ottale | 115 | 121 | 266 |
Esempi dei codici css e html per gli elementi di colore #4D51B6. Utilizzate rgb(77,81,182) anche al posto del codice hex.
.myTextColor { color: #4D51B6; }
<p style="color:#4D51B6">This sample text font color is #4D51B6.</p>
Il colore di questo testo è #4D51B6.
.myBgColor { background-color: #4D51B6; }
<div style="background-color:#4D51B6">Inner text</div>
Questo div ha lo sfondo di colore #4D51B6.
.myBorderColor { border: 1px solid #4D51B6; }
<div style="border:3px solid #4D51B6">Div</div>
Questo div ha i bordi di colore 4D51B6.
.myOpacity80 { color: #4D51B6; opacity: 0.8; }
<p style="color:#4D51B6;opacity:0.8;">80%</p>
Il testo di color #4D51B6 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D51B6;}
<p style="text-shadow: 3px 3px 1px #4D51B6">Text here.</p>
Questo testo ha l'ombra di colore #4D51B6.
.textShadow {text-shadow: 3px 3px 1px #4D51B6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D51B6, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #4D51B6 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D51B6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D51B6, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D51B6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D51B6; -webkit-box-shadow: 1px 1px 3px 2px #4D51B6; box-shadow: 1px 1px 3px 2px #4D51B6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D51B6; -webkit-box-shadow: 1px 1px 3px 2px #4D51B6; box-shadow:1px 1px 3px 2px #4D51B6;">
Div content here</div>
Questo e il testo di colore #4D51B6 sullo sfondo nero.
Questo e il testo di colore #4D51B6 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #4D51B6.
Questo è un testo bianco sullo sfondo del colore #4D51B6.