HEX: #D9A4DE
RGB: (217,164,222)
#D9A4DE contains red, green and blue colors in about the same proportion. Web safe color of #D9A4DE is #CC99CC (or #C9C).
#D9A4DE color RGB value is (217,164,222).
RGB: (217,164,222) (85%,64%,87%)
R 217 of 255 = 85%
G 164 of 255 = 64%
B 222 of 255 = 87%
R + G + B ~ 79%. #D9A4DE is quite light color.
R + G + B =
217 + 164 + 222 = 603 (100%)
R 217 of 603 ~ 35.99%
G 164 of 603 ~ 27.2%
B 222 of 603 ~ 36.82%
#D9A4DE color CMYK value is (2,26,0,13).
CMYK: (2,26,0,13) C2M26Y0K13 (2%,26%,0%,13%) (0.02/0.26/0.00/0.13)
D9 | A4 | DE | |
---|---|---|---|
RGB | 217 | 164 | 222 |
HSL | 295° | 46.77% | 75.69% |
HSB/HSV | 295° | 26.13% | 87.06% |
CMYK | 2.25% | 26.13% | 0.00% |
12.94% |
HEX | D9 | A4 | DE |
Decimal | 217 | 164 | 222 |
Binary | 11011001 | 10100100 | 11011110 |
Octal | 331 | 244 | 336 |
Examples of css and html codes for elements with #D9A4DE color. Also use rgb(217,164,222) instead hex code.
.myTextColor { color: #D9A4DE; }
<p style="color:#D9A4DE">This sample text font color is #D9A4DE.</p>
This text font color is #D9A4DE.
.myBgColor { background-color: #D9A4DE; }
<div style="background-color:#D9A4DE">Inner text</div>
This div background color is #D9A4DE.
.myBorderColor { border: 1px solid #D9A4DE; }
<div style="border:3px solid #D9A4DE">Div</div>
This div border color is #D9A4DE.
.myOpacity80 { color: #D9A4DE; opacity: 0.8; }
<p style="color:#D9A4DE;opacity:0.8;">80%</p>
Text with #D9A4DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9A4DE;}
<p style="text-shadow: 3px 3px 1px #D9A4DE">Text here.</p>
This text has shadow with #D9A4DE color.
.textShadow {text-shadow: 3px 3px 1px #D9A4DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9A4DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9A4DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9A4DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9A4DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9A4DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9A4DE; -webkit-box-shadow: 1px 1px 3px 2px #D9A4DE; box-shadow: 1px 1px 3px 2px #D9A4DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9A4DE; -webkit-box-shadow: 1px 1px 3px 2px #D9A4DE; box-shadow:1px 1px 3px 2px #D9A4DE;">
Div content here</div>
This text has color #D9A4DE on black background.
This text has color #D9A4DE on white background.
This text has black color on #D9A4DE background.
This text has white color on #D9A4DE background.