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