HEX: #D4AACD
RGB: (212,170,205)
#D4AACD contains red, green and blue colors in about the same proportion. Web safe color of #D4AACD is #CC99CC (or #C9C).
#D4AACD color RGB value is (212,170,205).
RGB: (212,170,205) (83%,67%,80%)
R 212 of 255 = 83%
G 170 of 255 = 67%
B 205 of 255 = 80%
R + G + B ~ 77%. #D4AACD is quite light color.
R + G + B =
212 + 170 + 205 = 587 (100%)
R 212 of 587 ~ 36.12%
G 170 of 587 ~ 28.96%
B 205 of 587 ~ 34.92%
#D4AACD color CMYK value is (0,20,3,17).
CMYK: (0,20,3,17) C0M20Y3K17 (0%,20%,3%,17%) (0.00/0.20/0.03/0.17)
D4 | AA | CD | |
---|---|---|---|
RGB | 212 | 170 | 205 |
HSL | 310° | 32.81% | 74.90% |
HSB/HSV | 310° | 19.81% | 83.14% |
CMYK | 0.00% | 19.81% | 3.30% |
16.86% |
HEX | D4 | AA | CD |
Decimal | 212 | 170 | 205 |
Binary | 11010100 | 10101010 | 11001101 |
Octal | 324 | 252 | 315 |
Examples of css and html codes for elements with #D4AACD color. Also use rgb(212,170,205) instead hex code.
.myTextColor { color: #D4AACD; }
<p style="color:#D4AACD">This sample text font color is #D4AACD.</p>
This text font color is #D4AACD.
.myBgColor { background-color: #D4AACD; }
<div style="background-color:#D4AACD">Inner text</div>
This div background color is #D4AACD.
.myBorderColor { border: 1px solid #D4AACD; }
<div style="border:3px solid #D4AACD">Div</div>
This div border color is #D4AACD.
.myOpacity80 { color: #D4AACD; opacity: 0.8; }
<p style="color:#D4AACD;opacity:0.8;">80%</p>
Text with #D4AACD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4AACD;}
<p style="text-shadow: 3px 3px 1px #D4AACD">Text here.</p>
This text has shadow with #D4AACD color.
.textShadow {text-shadow: 3px 3px 1px #D4AACD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4AACD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4AACD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4AACD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4AACD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4AACD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4AACD; -webkit-box-shadow: 1px 1px 3px 2px #D4AACD; box-shadow: 1px 1px 3px 2px #D4AACD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4AACD; -webkit-box-shadow: 1px 1px 3px 2px #D4AACD; box-shadow:1px 1px 3px 2px #D4AACD;">
Div content here</div>
This text has color #D4AACD on black background.
This text has color #D4AACD on white background.
This text has black color on #D4AACD background.
This text has white color on #D4AACD background.