HEX: #D08BAB
RGB: (208,139,171)
Il colore #D08BAB contiene principalmente il rosso e il blu. Per il #D08BAB il colore web safe è #CC9999 (#C99).
Il colore D08BAB in RGB è definito come 208,139,171
RGB: (208,139,171) (82%,55%,67%)
R 208 da 255 = 82%
G 139 da 255 = 55%
B 171 da 255 = 67%
R + G + B ~ 68%. #D08BAB colore abbastanza chiaro.
R + G + B =
208 + 139 + 171 = 518 (100%)
R 208 da 518 ~ 40.15%
G 139 da 518 ~ 26.83%
B 171 da 518 ~ 33.01%
Il colore #D08BAB in CMYK è definito come 0,33,18,18.
CMYK: (0,33,18,18) C0M33Y18K18 (0%,33%,18%,18%) (0.00/0.33/0.18/0.18)
D0 | 8B | AB | |
---|---|---|---|
RGB | 208 | 139 | 171 |
HSL | 332° | 42.33% | 68.04% |
HSB/HSV | 332° | 33.17% | 81.57% |
CMYK | 0.00% | 33.17% | 17.79% |
18.43% |
Esadicemale | D0 | 8B | AB |
Decimale | 208 | 139 | 171 |
Binario | 11010000 | 10001011 | 10101011 |
Ottale | 320 | 213 | 253 |
Esempi dei codici css e html per gli elementi di colore #D08BAB. Utilizzate rgb(208,139,171) anche al posto del codice hex.
.myTextColor { color: #D08BAB; }
<p style="color:#D08BAB">This sample text font color is #D08BAB.</p>
Il colore di questo testo è #D08BAB.
.myBgColor { background-color: #D08BAB; }
<div style="background-color:#D08BAB">Inner text</div>
Questo div ha lo sfondo di colore #D08BAB.
.myBorderColor { border: 1px solid #D08BAB; }
<div style="border:3px solid #D08BAB">Div</div>
Questo div ha i bordi di colore D08BAB.
.myOpacity80 { color: #D08BAB; opacity: 0.8; }
<p style="color:#D08BAB;opacity:0.8;">80%</p>
Il testo di color #D08BAB e trasparenza 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D08BAB;}
<p style="text-shadow: 3px 3px 1px #D08BAB">Text here.</p>
Questo testo ha l'ombra di colore #D08BAB.
.textShadow {text-shadow: 3px 3px 1px #D08BAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D08BAB, 5px 5px 20px red">Text here.</p>
Questo testo ha l'ombra del colore principale #D08BAB e del colore secondario rosso.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D08BAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D08BAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D08BAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D08BAB; -webkit-box-shadow: 1px 1px 3px 2px #D08BAB; box-shadow: 1px 1px 3px 2px #D08BAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D08BAB; -webkit-box-shadow: 1px 1px 3px 2px #D08BAB; box-shadow:1px 1px 3px 2px #D08BAB;">
Div content here</div>
Questo e il testo di colore #D08BAB sullo sfondo nero.
Questo e il testo di colore #D08BAB sullo sfondo bianco.
Questo è un testo nero sullo sfondo del colore #D08BAB.
Questo è un testo bianco sullo sfondo del colore #D08BAB.