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