HEX: #9D74DC
RGB: (157,116,220)
Il colore #9D74DC contiene principalmente il blu. Per il #9D74DC il colore web safe è #9966CC (#96C).
Il colore 9D74DC in RGB è definito come 157,116,220
RGB: (157,116,220) (62%,45%,86%)
R 157 da 255 = 62%
G 116 da 255 = 45%
B 220 da 255 = 86%
R + G + B ~ 64%. #9D74DC colore abbastanza chiaro.
R + G + B =
157 + 116 + 220 = 493 (100%)
R 157 da 493 ~ 31.85%
G 116 da 493 ~ 23.53%
B 220 da 493 ~ 44.62%
Il colore #9D74DC in CMYK è definito come 29,47,0,14.
CMYK: (29,47,0,14) C29M47Y0K14 (29%,47%,0%,14%) (0.29/0.47/0.00/0.14)
9D | 74 | DC | |
---|---|---|---|
RGB | 157 | 116 | 220 |
HSL | 264° | 59.77% | 65.88% |
HSB/HSV | 264° | 47.27% | 86.27% |
CMYK | 28.64% | 47.27% | 0.00% |
13.73% |
Esadicemale | 9D | 74 | DC |
Decimale | 157 | 116 | 220 |
Binario | 10011101 | 1110100 | 11011100 |
Ottale | 235 | 164 | 334 |
Esempi dei codici css e html per gli elementi di colore #9D74DC. Utilizzate rgb(157,116,220) anche al posto del codice hex.
.myTextColor { color: #9D74DC; }
<p style="color:#9D74DC">This sample text font color is #9D74DC.</p>
Il colore di questo testo è #9D74DC.
.myBgColor { background-color: #9D74DC; }
<div style="background-color:#9D74DC">Inner text</div>
Questo div ha lo sfondo di colore #9D74DC.
.myBorderColor { border: 1px solid #9D74DC; }
<div style="border:3px solid #9D74DC">Div</div>
Questo div ha i bordi di colore 9D74DC.
.myOpacity80 { color: #9D74DC; opacity: 0.8; }
<p style="color:#9D74DC;opacity:0.8;">80%</p>
Il testo di color #9D74DC e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D74DC;}
<p style="text-shadow: 3px 3px 1px #9D74DC">Text here.</p>
Questo testo ha l'ombra di colore #9D74DC.
.textShadow {text-shadow: 3px 3px 1px #9D74DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D74DC, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #9D74DC e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D74DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D74DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D74DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D74DC; -webkit-box-shadow: 1px 1px 3px 2px #9D74DC; box-shadow: 1px 1px 3px 2px #9D74DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D74DC; -webkit-box-shadow: 1px 1px 3px 2px #9D74DC; box-shadow:1px 1px 3px 2px #9D74DC;">
Div content here</div>
Questo e il testo di colore #9D74DC sullo sfondo nero.
Questo e il testo di colore #9D74DC sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #9D74DC.
Questo è un testo bianco sullo sfondo del colore #9D74DC.