HEX: #D7AACD
RGB: (215,170,205)
#D7AACD contains red, green and blue colors in about the same proportion. Web safe color of #D7AACD is #CC99CC (or #C9C).
#D7AACD color RGB value is (215,170,205).
RGB: (215,170,205) (84%,67%,80%)
R 215 of 255 = 84%
G 170 of 255 = 67%
B 205 of 255 = 80%
R + G + B ~ 77%. #D7AACD is quite light color.
R + G + B =
215 + 170 + 205 = 590 (100%)
R 215 of 590 ~ 36.44%
G 170 of 590 ~ 28.81%
B 205 of 590 ~ 34.75%
#D7AACD color CMYK value is (0,21,5,16).
CMYK: (0,21,5,16) C0M21Y5K16 (0%,21%,5%,16%) (0.00/0.21/0.05/0.16)
D7 | AA | CD | |
---|---|---|---|
RGB | 215 | 170 | 205 |
HSL | 313° | 36.00% | 75.49% |
HSB/HSV | 313° | 20.93% | 84.31% |
CMYK | 0.00% | 20.93% | 4.65% |
15.69% |
HEX | D7 | AA | CD |
Decimal | 215 | 170 | 205 |
Binary | 11010111 | 10101010 | 11001101 |
Octal | 327 | 252 | 315 |
Examples of css and html codes for elements with #D7AACD color. Also use rgb(215,170,205) instead hex code.
.myTextColor { color: #D7AACD; }
<p style="color:#D7AACD">This sample text font color is #D7AACD.</p>
This text font color is #D7AACD.
.myBgColor { background-color: #D7AACD; }
<div style="background-color:#D7AACD">Inner text</div>
This div background color is #D7AACD.
.myBorderColor { border: 1px solid #D7AACD; }
<div style="border:3px solid #D7AACD">Div</div>
This div border color is #D7AACD.
.myOpacity80 { color: #D7AACD; opacity: 0.8; }
<p style="color:#D7AACD;opacity:0.8;">80%</p>
Text with #D7AACD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7AACD;}
<p style="text-shadow: 3px 3px 1px #D7AACD">Text here.</p>
This text has shadow with #D7AACD color.
.textShadow {text-shadow: 3px 3px 1px #D7AACD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7AACD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7AACD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7AACD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7AACD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7AACD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7AACD; -webkit-box-shadow: 1px 1px 3px 2px #D7AACD; box-shadow: 1px 1px 3px 2px #D7AACD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7AACD; -webkit-box-shadow: 1px 1px 3px 2px #D7AACD; box-shadow:1px 1px 3px 2px #D7AACD;">
Div content here</div>
This text has color #D7AACD on black background.
This text has color #D7AACD on white background.
This text has black color on #D7AACD background.
This text has white color on #D7AACD background.