HEX: #D8B0DB
RGB: (216,176,219)
#D8B0DB contains red, green and blue colors in about the same proportion. Web safe color of #D8B0DB is #CC99CC (or #C9C).
#D8B0DB color RGB value is (216,176,219).
RGB: (216,176,219) (85%,69%,86%)
R 216 of 255 = 85%
G 176 of 255 = 69%
B 219 of 255 = 86%
R + G + B ~ 80%. #D8B0DB is quite light color.
R + G + B =
216 + 176 + 219 = 611 (100%)
R 216 of 611 ~ 35.35%
G 176 of 611 ~ 28.81%
B 219 of 611 ~ 35.84%
#D8B0DB color CMYK value is (1,20,0,14).
CMYK: (1,20,0,14) C1M20Y0K14 (1%,20%,0%,14%) (0.01/0.20/0.00/0.14)
D8 | B0 | DB | |
---|---|---|---|
RGB | 216 | 176 | 219 |
HSL | 296° | 37.39% | 77.45% |
HSB/HSV | 296° | 19.63% | 85.88% |
CMYK | 1.37% | 19.63% | 0.00% |
14.12% |
HEX | D8 | B0 | DB |
Decimal | 216 | 176 | 219 |
Binary | 11011000 | 10110000 | 11011011 |
Octal | 330 | 260 | 333 |
Examples of css and html codes for elements with #D8B0DB color. Also use rgb(216,176,219) instead hex code.
.myTextColor { color: #D8B0DB; }
<p style="color:#D8B0DB">This sample text font color is #D8B0DB.</p>
This text font color is #D8B0DB.
.myBgColor { background-color: #D8B0DB; }
<div style="background-color:#D8B0DB">Inner text</div>
This div background color is #D8B0DB.
.myBorderColor { border: 1px solid #D8B0DB; }
<div style="border:3px solid #D8B0DB">Div</div>
This div border color is #D8B0DB.
.myOpacity80 { color: #D8B0DB; opacity: 0.8; }
<p style="color:#D8B0DB;opacity:0.8;">80%</p>
Text with #D8B0DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8B0DB;}
<p style="text-shadow: 3px 3px 1px #D8B0DB">Text here.</p>
This text has shadow with #D8B0DB color.
.textShadow {text-shadow: 3px 3px 1px #D8B0DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8B0DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8B0DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8B0DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8B0DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8B0DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8B0DB; -webkit-box-shadow: 1px 1px 3px 2px #D8B0DB; box-shadow: 1px 1px 3px 2px #D8B0DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8B0DB; -webkit-box-shadow: 1px 1px 3px 2px #D8B0DB; box-shadow:1px 1px 3px 2px #D8B0DB;">
Div content here</div>
This text has color #D8B0DB on black background.
This text has color #D8B0DB on white background.
This text has black color on #D8B0DB background.
This text has white color on #D8B0DB background.