HEX: #D9C7DD
RGB: (217,199,221)
#D9C7DD contains red, green and blue colors in about the same proportion. Web safe color of #D9C7DD is #CCCCCC (or #CCC).
#D9C7DD color RGB value is (217,199,221).
RGB: (217,199,221) (85%,78%,87%)
R 217 of 255 = 85%
G 199 of 255 = 78%
B 221 of 255 = 87%
R + G + B ~ 83%. #D9C7DD is quite light color.
R + G + B =
217 + 199 + 221 = 637 (100%)
R 217 of 637 ~ 34.07%
G 199 of 637 ~ 31.24%
B 221 of 637 ~ 34.69%
#D9C7DD color CMYK value is (2,10,0,13).
CMYK: (2,10,0,13) C2M10Y0K13 (2%,10%,0%,13%) (0.02/0.10/0.00/0.13)
D9 | C7 | DD | |
---|---|---|---|
RGB | 217 | 199 | 221 |
HSL | 289° | 24.44% | 82.35% |
HSB/HSV | 289° | 9.95% | 86.67% |
CMYK | 1.81% | 9.95% | 0.00% |
13.33% |
HEX | D9 | C7 | DD |
Decimal | 217 | 199 | 221 |
Binary | 11011001 | 11000111 | 11011101 |
Octal | 331 | 307 | 335 |
Examples of css and html codes for elements with #D9C7DD color. Also use rgb(217,199,221) instead hex code.
.myTextColor { color: #D9C7DD; }
<p style="color:#D9C7DD">This sample text font color is #D9C7DD.</p>
This text font color is #D9C7DD.
.myBgColor { background-color: #D9C7DD; }
<div style="background-color:#D9C7DD">Inner text</div>
This div background color is #D9C7DD.
.myBorderColor { border: 1px solid #D9C7DD; }
<div style="border:3px solid #D9C7DD">Div</div>
This div border color is #D9C7DD.
.myOpacity80 { color: #D9C7DD; opacity: 0.8; }
<p style="color:#D9C7DD;opacity:0.8;">80%</p>
Text with #D9C7DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C7DD;}
<p style="text-shadow: 3px 3px 1px #D9C7DD">Text here.</p>
This text has shadow with #D9C7DD color.
.textShadow {text-shadow: 3px 3px 1px #D9C7DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C7DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C7DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C7DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C7DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C7DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C7DD; -webkit-box-shadow: 1px 1px 3px 2px #D9C7DD; box-shadow: 1px 1px 3px 2px #D9C7DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C7DD; -webkit-box-shadow: 1px 1px 3px 2px #D9C7DD; box-shadow:1px 1px 3px 2px #D9C7DD;">
Div content here</div>
This text has color #D9C7DD on black background.
This text has color #D9C7DD on white background.
This text has black color on #D9C7DD background.
This text has white color on #D9C7DD background.