HEX: #D8A6BD
RGB: (216,166,189)
#D8A6BD contains red, green and blue colors in about the same proportion. Web safe color of #D8A6BD is #CC99CC (or #C9C).
#D8A6BD color RGB value is (216,166,189).
RGB: (216,166,189) (85%,65%,74%)
R 216 of 255 = 85%
G 166 of 255 = 65%
B 189 of 255 = 74%
R + G + B ~ 75%. #D8A6BD is quite light color.
R + G + B =
216 + 166 + 189 = 571 (100%)
R 216 of 571 ~ 37.83%
G 166 of 571 ~ 29.07%
B 189 of 571 ~ 33.1%
#D8A6BD color CMYK value is (0,23,13,15).
CMYK: (0,23,13,15) C0M23Y13K15 (0%,23%,13%,15%) (0.00/0.23/0.13/0.15)
D8 | A6 | BD | |
---|---|---|---|
RGB | 216 | 166 | 189 |
HSL | 332° | 39.06% | 74.90% |
HSB/HSV | 332° | 23.15% | 84.71% |
CMYK | 0.00% | 23.15% | 12.50% |
15.29% |
HEX | D8 | A6 | BD |
Decimal | 216 | 166 | 189 |
Binary | 11011000 | 10100110 | 10111101 |
Octal | 330 | 246 | 275 |
Examples of css and html codes for elements with #D8A6BD color. Also use rgb(216,166,189) instead hex code.
.myTextColor { color: #D8A6BD; }
<p style="color:#D8A6BD">This sample text font color is #D8A6BD.</p>
This text font color is #D8A6BD.
.myBgColor { background-color: #D8A6BD; }
<div style="background-color:#D8A6BD">Inner text</div>
This div background color is #D8A6BD.
.myBorderColor { border: 1px solid #D8A6BD; }
<div style="border:3px solid #D8A6BD">Div</div>
This div border color is #D8A6BD.
.myOpacity80 { color: #D8A6BD; opacity: 0.8; }
<p style="color:#D8A6BD;opacity:0.8;">80%</p>
Text with #D8A6BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8A6BD;}
<p style="text-shadow: 3px 3px 1px #D8A6BD">Text here.</p>
This text has shadow with #D8A6BD color.
.textShadow {text-shadow: 3px 3px 1px #D8A6BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8A6BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8A6BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8A6BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8A6BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8A6BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8A6BD; -webkit-box-shadow: 1px 1px 3px 2px #D8A6BD; box-shadow: 1px 1px 3px 2px #D8A6BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8A6BD; -webkit-box-shadow: 1px 1px 3px 2px #D8A6BD; box-shadow:1px 1px 3px 2px #D8A6BD;">
Div content here</div>
This text has color #D8A6BD on black background.
This text has color #D8A6BD on white background.
This text has black color on #D8A6BD background.
This text has white color on #D8A6BD background.