HEX: #D4AADC
RGB: (212,170,220)
#D4AADC contains red, green and blue colors in about the same proportion. Web safe color of #D4AADC is #CC99CC (or #C9C).
#D4AADC color RGB value is (212,170,220).
RGB: (212,170,220) (83%,67%,86%)
R 212 of 255 = 83%
G 170 of 255 = 67%
B 220 of 255 = 86%
R + G + B ~ 79%. #D4AADC is quite light color.
R + G + B =
212 + 170 + 220 = 602 (100%)
R 212 of 602 ~ 35.22%
G 170 of 602 ~ 28.24%
B 220 of 602 ~ 36.54%
#D4AADC 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)
D4 | AA | DC | |
---|---|---|---|
RGB | 212 | 170 | 220 |
HSL | 290° | 41.67% | 76.47% |
HSB/HSV | 290° | 22.73% | 86.27% |
CMYK | 3.64% | 22.73% | 0.00% |
13.73% |
HEX | D4 | AA | DC |
Decimal | 212 | 170 | 220 |
Binary | 11010100 | 10101010 | 11011100 |
Octal | 324 | 252 | 334 |
Examples of css and html codes for elements with #D4AADC color. Also use rgb(212,170,220) instead hex code.
.myTextColor { color: #D4AADC; }
<p style="color:#D4AADC">This sample text font color is #D4AADC.</p>
This text font color is #D4AADC.
.myBgColor { background-color: #D4AADC; }
<div style="background-color:#D4AADC">Inner text</div>
This div background color is #D4AADC.
.myBorderColor { border: 1px solid #D4AADC; }
<div style="border:3px solid #D4AADC">Div</div>
This div border color is #D4AADC.
.myOpacity80 { color: #D4AADC; opacity: 0.8; }
<p style="color:#D4AADC;opacity:0.8;">80%</p>
Text with #D4AADC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4AADC;}
<p style="text-shadow: 3px 3px 1px #D4AADC">Text here.</p>
This text has shadow with #D4AADC color.
.textShadow {text-shadow: 3px 3px 1px #D4AADC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4AADC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4AADC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4AADC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4AADC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4AADC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4AADC; -webkit-box-shadow: 1px 1px 3px 2px #D4AADC; box-shadow: 1px 1px 3px 2px #D4AADC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4AADC; -webkit-box-shadow: 1px 1px 3px 2px #D4AADC; box-shadow:1px 1px 3px 2px #D4AADC;">
Div content here</div>
This text has color #D4AADC on black background.
This text has color #D4AADC on white background.
This text has black color on #D4AADC background.
This text has white color on #D4AADC background.