HEX: #D2A9DB
RGB: (210,169,219)
#D2A9DB contains red, green and blue colors in about the same proportion. Web safe color of #D2A9DB is #CC99CC (or #C9C).
#D2A9DB color RGB value is (210,169,219).
RGB: (210,169,219) (82%,66%,86%)
R 210 of 255 = 82%
G 169 of 255 = 66%
B 219 of 255 = 86%
R + G + B ~ 78%. #D2A9DB is quite light color.
R + G + B =
210 + 169 + 219 = 598 (100%)
R 210 of 598 ~ 35.12%
G 169 of 598 ~ 28.26%
B 219 of 598 ~ 36.62%
#D2A9DB color CMYK value is (4,23,0,14).
CMYK: (4,23,0,14) C4M23Y0K14 (4%,23%,0%,14%) (0.04/0.23/0.00/0.14)
D2 | A9 | DB | |
---|---|---|---|
RGB | 210 | 169 | 219 |
HSL | 289° | 40.98% | 76.08% |
HSB/HSV | 289° | 22.83% | 85.88% |
CMYK | 4.11% | 22.83% | 0.00% |
14.12% |
HEX | D2 | A9 | DB |
Decimal | 210 | 169 | 219 |
Binary | 11010010 | 10101001 | 11011011 |
Octal | 322 | 251 | 333 |
Examples of css and html codes for elements with #D2A9DB color. Also use rgb(210,169,219) instead hex code.
.myTextColor { color: #D2A9DB; }
<p style="color:#D2A9DB">This sample text font color is #D2A9DB.</p>
This text font color is #D2A9DB.
.myBgColor { background-color: #D2A9DB; }
<div style="background-color:#D2A9DB">Inner text</div>
This div background color is #D2A9DB.
.myBorderColor { border: 1px solid #D2A9DB; }
<div style="border:3px solid #D2A9DB">Div</div>
This div border color is #D2A9DB.
.myOpacity80 { color: #D2A9DB; opacity: 0.8; }
<p style="color:#D2A9DB;opacity:0.8;">80%</p>
Text with #D2A9DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2A9DB;}
<p style="text-shadow: 3px 3px 1px #D2A9DB">Text here.</p>
This text has shadow with #D2A9DB color.
.textShadow {text-shadow: 3px 3px 1px #D2A9DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2A9DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2A9DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2A9DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2A9DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2A9DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2A9DB; -webkit-box-shadow: 1px 1px 3px 2px #D2A9DB; box-shadow: 1px 1px 3px 2px #D2A9DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2A9DB; -webkit-box-shadow: 1px 1px 3px 2px #D2A9DB; box-shadow:1px 1px 3px 2px #D2A9DB;">
Div content here</div>
This text has color #D2A9DB on black background.
This text has color #D2A9DB on white background.
This text has black color on #D2A9DB background.
This text has white color on #D2A9DB background.