HEX: #D7A5DB
RGB: (215,165,219)
#D7A5DB contains red, green and blue colors in about the same proportion. Web safe color of #D7A5DB is #CC99CC (or #C9C).
#D7A5DB color RGB value is (215,165,219).
RGB: (215,165,219) (84%,65%,86%)
R 215 of 255 = 84%
G 165 of 255 = 65%
B 219 of 255 = 86%
R + G + B ~ 78%. #D7A5DB is quite light color.
R + G + B =
215 + 165 + 219 = 599 (100%)
R 215 of 599 ~ 35.89%
G 165 of 599 ~ 27.55%
B 219 of 599 ~ 36.56%
#D7A5DB color CMYK value is (2,25,0,14).
CMYK: (2,25,0,14) C2M25Y0K14 (2%,25%,0%,14%) (0.02/0.25/0.00/0.14)
D7 | A5 | DB | |
---|---|---|---|
RGB | 215 | 165 | 219 |
HSL | 296° | 42.86% | 75.29% |
HSB/HSV | 296° | 24.66% | 85.88% |
CMYK | 1.83% | 24.66% | 0.00% |
14.12% |
HEX | D7 | A5 | DB |
Decimal | 215 | 165 | 219 |
Binary | 11010111 | 10100101 | 11011011 |
Octal | 327 | 245 | 333 |
Examples of css and html codes for elements with #D7A5DB color. Also use rgb(215,165,219) instead hex code.
.myTextColor { color: #D7A5DB; }
<p style="color:#D7A5DB">This sample text font color is #D7A5DB.</p>
This text font color is #D7A5DB.
.myBgColor { background-color: #D7A5DB; }
<div style="background-color:#D7A5DB">Inner text</div>
This div background color is #D7A5DB.
.myBorderColor { border: 1px solid #D7A5DB; }
<div style="border:3px solid #D7A5DB">Div</div>
This div border color is #D7A5DB.
.myOpacity80 { color: #D7A5DB; opacity: 0.8; }
<p style="color:#D7A5DB;opacity:0.8;">80%</p>
Text with #D7A5DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7A5DB;}
<p style="text-shadow: 3px 3px 1px #D7A5DB">Text here.</p>
This text has shadow with #D7A5DB color.
.textShadow {text-shadow: 3px 3px 1px #D7A5DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7A5DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7A5DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7A5DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7A5DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7A5DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7A5DB; -webkit-box-shadow: 1px 1px 3px 2px #D7A5DB; box-shadow: 1px 1px 3px 2px #D7A5DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7A5DB; -webkit-box-shadow: 1px 1px 3px 2px #D7A5DB; box-shadow:1px 1px 3px 2px #D7A5DB;">
Div content here</div>
This text has color #D7A5DB on black background.
This text has color #D7A5DB on white background.
This text has black color on #D7A5DB background.
This text has white color on #D7A5DB background.