HEX: #BA55E1
RGB: (186,85,225)
Il colore #BA55E1 contiene principalmente il rosso e il blu. Per il #BA55E1 il colore web safe è #CC66CC (#C6C).
Il colore BA55E1 in RGB è definito come 186,85,225
RGB: (186,85,225) (73%,33%,88%)
R 186 da 255 = 73%
G 85 da 255 = 33%
B 225 da 255 = 88%
R + G + B ~ 65%. #BA55E1 colore abbastanza chiaro.
R + G + B =
186 + 85 + 225 = 496 (100%)
R 186 da 496 ~ 37.5%
G 85 da 496 ~ 17.14%
B 225 da 496 ~ 45.36%
Il colore #BA55E1 in CMYK è definito come 17,62,0,12.
CMYK: (17,62,0,12) C17M62Y0K12 (17%,62%,0%,12%) (0.17/0.62/0.00/0.12)
BA | 55 | E1 | |
---|---|---|---|
RGB | 186 | 85 | 225 |
HSL | 283° | 70.00% | 60.78% |
HSB/HSV | 283° | 62.22% | 88.24% |
CMYK | 17.33% | 62.22% | 0.00% |
11.76% |
Esadicemale | BA | 55 | E1 |
Decimale | 186 | 85 | 225 |
Binario | 10111010 | 1010101 | 11100001 |
Ottale | 272 | 125 | 341 |
Esempi dei codici css e html per gli elementi di colore #BA55E1. Utilizzate rgb(186,85,225) anche al posto del codice hex.
.myTextColor { color: #BA55E1; }
<p style="color:#BA55E1">This sample text font color is #BA55E1.</p>
Il colore di questo testo è #BA55E1.
.myBgColor { background-color: #BA55E1; }
<div style="background-color:#BA55E1">Inner text</div>
Questo div ha lo sfondo di colore #BA55E1.
.myBorderColor { border: 1px solid #BA55E1; }
<div style="border:3px solid #BA55E1">Div</div>
Questo div ha i bordi di colore BA55E1.
.myOpacity80 { color: #BA55E1; opacity: 0.8; }
<p style="color:#BA55E1;opacity:0.8;">80%</p>
Il testo di color #BA55E1 e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA55E1;}
<p style="text-shadow: 3px 3px 1px #BA55E1">Text here.</p>
Questo testo ha l'ombra di colore #BA55E1.
.textShadow {text-shadow: 3px 3px 1px #BA55E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA55E1, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #BA55E1 e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA55E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA55E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA55E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA55E1; -webkit-box-shadow: 1px 1px 3px 2px #BA55E1; box-shadow: 1px 1px 3px 2px #BA55E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA55E1; -webkit-box-shadow: 1px 1px 3px 2px #BA55E1; box-shadow:1px 1px 3px 2px #BA55E1;">
Div content here</div>
Questo e il testo di colore #BA55E1 sullo sfondo nero.
Questo e il testo di colore #BA55E1 sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #BA55E1.
Questo è un testo bianco sullo sfondo del colore #BA55E1.