HEX: #D1AADD
RGB: (209,170,221)
#D1AADD contains red, green and blue colors in about the same proportion. Web safe color of #D1AADD is #CC99CC (or #C9C).
#D1AADD color RGB value is (209,170,221).
RGB: (209,170,221) (82%,67%,87%)
R 209 of 255 = 82%
G 170 of 255 = 67%
B 221 of 255 = 87%
R + G + B ~ 79%. #D1AADD is quite light color.
R + G + B =
209 + 170 + 221 = 600 (100%)
R 209 of 600 ~ 34.83%
G 170 of 600 ~ 28.33%
B 221 of 600 ~ 36.83%
#D1AADD color CMYK value is (5,23,0,13).
CMYK: (5,23,0,13) C5M23Y0K13 (5%,23%,0%,13%) (0.05/0.23/0.00/0.13)
D1 | AA | DD | |
---|---|---|---|
RGB | 209 | 170 | 221 |
HSL | 286° | 42.86% | 76.67% |
HSB/HSV | 286° | 23.08% | 86.67% |
CMYK | 5.43% | 23.08% | 0.00% |
13.33% |
HEX | D1 | AA | DD |
Decimal | 209 | 170 | 221 |
Binary | 11010001 | 10101010 | 11011101 |
Octal | 321 | 252 | 335 |
Examples of css and html codes for elements with #D1AADD color. Also use rgb(209,170,221) instead hex code.
.myTextColor { color: #D1AADD; }
<p style="color:#D1AADD">This sample text font color is #D1AADD.</p>
This text font color is #D1AADD.
.myBgColor { background-color: #D1AADD; }
<div style="background-color:#D1AADD">Inner text</div>
This div background color is #D1AADD.
.myBorderColor { border: 1px solid #D1AADD; }
<div style="border:3px solid #D1AADD">Div</div>
This div border color is #D1AADD.
.myOpacity80 { color: #D1AADD; opacity: 0.8; }
<p style="color:#D1AADD;opacity:0.8;">80%</p>
Text with #D1AADD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D1AADD;}
<p style="text-shadow: 3px 3px 1px #D1AADD">Text here.</p>
This text has shadow with #D1AADD color.
.textShadow {text-shadow: 3px 3px 1px #D1AADD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D1AADD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D1AADD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D1AADD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D1AADD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D1AADD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D1AADD; -webkit-box-shadow: 1px 1px 3px 2px #D1AADD; box-shadow: 1px 1px 3px 2px #D1AADD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D1AADD; -webkit-box-shadow: 1px 1px 3px 2px #D1AADD; box-shadow:1px 1px 3px 2px #D1AADD;">
Div content here</div>
This text has color #D1AADD on black background.
This text has color #D1AADD on white background.
This text has black color on #D1AADD background.
This text has white color on #D1AADD background.