HEX: #9D46B9
RGB: (157,70,185)
Il colore #9D46B9 contiene principalmente il rosso e il blu. Per il #9D46B9 il colore web safe è #9933CC (#93C).
Il colore 9D46B9 in RGB è definito come 157,70,185
RGB: (157,70,185) (62%,27%,73%)
R 157 da 255 = 62%
G 70 da 255 = 27%
B 185 da 255 = 73%
R + G + B ~ 54%. #9D46B9 colore medio (né scuro né chiaro).
R + G + B =
157 + 70 + 185 = 412 (100%)
R 157 da 412 ~ 38.11%
G 70 da 412 ~ 16.99%
B 185 da 412 ~ 44.9%
Il colore #9D46B9 in CMYK è definito come 15,62,0,27.
CMYK: (15,62,0,27) C15M62Y0K27 (15%,62%,0%,27%) (0.15/0.62/0.00/0.27)
9D | 46 | B9 | |
---|---|---|---|
RGB | 157 | 70 | 185 |
HSL | 285° | 45.10% | 50.00% |
HSB/HSV | 285° | 62.16% | 72.55% |
CMYK | 15.14% | 62.16% | 0.00% |
27.45% |
Esadicemale | 9D | 46 | B9 |
Decimale | 157 | 70 | 185 |
Binario | 10011101 | 1000110 | 10111001 |
Ottale | 235 | 106 | 271 |
Esempi dei codici css e html per gli elementi di colore #9D46B9. Utilizzate rgb(157,70,185) anche al posto del codice hex.
.myTextColor { color: #9D46B9; }
<p style="color:#9D46B9">This sample text font color is #9D46B9.</p>
Il colore di questo testo è #9D46B9.
.myBgColor { background-color: #9D46B9; }
<div style="background-color:#9D46B9">Inner text</div>
Questo div ha lo sfondo di colore #9D46B9.
.myBorderColor { border: 1px solid #9D46B9; }
<div style="border:3px solid #9D46B9">Div</div>
Questo div ha i bordi di colore 9D46B9.
.myOpacity80 { color: #9D46B9; opacity: 0.8; }
<p style="color:#9D46B9;opacity:0.8;">80%</p>
Il testo di color #9D46B9 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9D46B9;}
<p style="text-shadow: 3px 3px 1px #9D46B9">Text here.</p>
Questo testo ha l'ombra di colore #9D46B9.
.textShadow {text-shadow: 3px 3px 1px #9D46B9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9D46B9, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #9D46B9 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9D46B9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9D46B9, Direction=45, Strength=4)">Text</p>
This text has shadow with #9D46B9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9D46B9; -webkit-box-shadow: 1px 1px 3px 2px #9D46B9; box-shadow: 1px 1px 3px 2px #9D46B9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9D46B9; -webkit-box-shadow: 1px 1px 3px 2px #9D46B9; box-shadow:1px 1px 3px 2px #9D46B9;">
Div content here</div>
Questo e il testo di colore #9D46B9 sullo sfondo nero.
Questo e il testo di colore #9D46B9 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #9D46B9.
Questo è un testo bianco sullo sfondo del colore #9D46B9.