HEX: #D48BFB
RGB: (212,139,251)
Il colore #D48BFB contiene principalmente il rosso e il blu. Per il #D48BFB il colore web safe è #CC99FF (#C9F).
Il colore D48BFB in RGB è definito come 212,139,251
RGB: (212,139,251) (83%,55%,98%)
R 212 da 255 = 83%
G 139 da 255 = 55%
B 251 da 255 = 98%
R + G + B ~ 79%. #D48BFB colore abbastanza chiaro.
R + G + B =
212 + 139 + 251 = 602 (100%)
R 212 da 602 ~ 35.22%
G 139 da 602 ~ 23.09%
B 251 da 602 ~ 41.69%
Il colore #D48BFB in CMYK è definito come 16,45,0,2.
CMYK: (16,45,0,2) C16M45Y0K2 (16%,45%,0%,2%) (0.16/0.45/0.00/0.02)
D4 | 8B | FB | |
---|---|---|---|
RGB | 212 | 139 | 251 |
HSL | 279° | 93.33% | 76.47% |
HSB/HSV | 279° | 44.62% | 98.43% |
CMYK | 15.54% | 44.62% | 0.00% |
1.57% |
Esadicemale | D4 | 8B | FB |
Decimale | 212 | 139 | 251 |
Binario | 11010100 | 10001011 | 11111011 |
Ottale | 324 | 213 | 373 |
Esempi dei codici css e html per gli elementi di colore #D48BFB. Utilizzate rgb(212,139,251) anche al posto del codice hex.
.myTextColor { color: #D48BFB; }
<p style="color:#D48BFB">This sample text font color is #D48BFB.</p>
Il colore di questo testo è #D48BFB.
.myBgColor { background-color: #D48BFB; }
<div style="background-color:#D48BFB">Inner text</div>
Questo div ha lo sfondo di colore #D48BFB.
.myBorderColor { border: 1px solid #D48BFB; }
<div style="border:3px solid #D48BFB">Div</div>
Questo div ha i bordi di colore D48BFB.
.myOpacity80 { color: #D48BFB; opacity: 0.8; }
<p style="color:#D48BFB;opacity:0.8;">80%</p>
Il testo di color #D48BFB e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D48BFB;}
<p style="text-shadow: 3px 3px 1px #D48BFB">Text here.</p>
Questo testo ha l'ombra di colore #D48BFB.
.textShadow {text-shadow: 3px 3px 1px #D48BFB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D48BFB, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D48BFB e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D48BFB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D48BFB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D48BFB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D48BFB; -webkit-box-shadow: 1px 1px 3px 2px #D48BFB; box-shadow: 1px 1px 3px 2px #D48BFB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D48BFB; -webkit-box-shadow: 1px 1px 3px 2px #D48BFB; box-shadow:1px 1px 3px 2px #D48BFB;">
Div content here</div>
Questo e il testo di colore #D48BFB sullo sfondo nero.
Questo e il testo di colore #D48BFB sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D48BFB.
Questo è un testo bianco sullo sfondo del colore #D48BFB.