HEX: #D9C9DC
RGB: (217,201,220)
#D9C9DC contains red, green and blue colors in about the same proportion. Web safe color of #D9C9DC is #CCCCCC (or #CCC).
#D9C9DC color RGB value is (217,201,220).
RGB: (217,201,220) (85%,79%,86%)
R 217 of 255 = 85%
G 201 of 255 = 79%
B 220 of 255 = 86%
R + G + B ~ 83%. #D9C9DC is quite light color.
R + G + B =
217 + 201 + 220 = 638 (100%)
R 217 of 638 ~ 34.01%
G 201 of 638 ~ 31.5%
B 220 of 638 ~ 34.48%
#D9C9DC color CMYK value is (1,9,0,14).
CMYK: (1,9,0,14) C1M9Y0K14 (1%,9%,0%,14%) (0.01/0.09/0.00/0.14)
D9 | C9 | DC | |
---|---|---|---|
RGB | 217 | 201 | 220 |
HSL | 291° | 21.35% | 82.55% |
HSB/HSV | 291° | 8.64% | 86.27% |
CMYK | 1.36% | 8.64% | 0.00% |
13.73% |
HEX | D9 | C9 | DC |
Decimal | 217 | 201 | 220 |
Binary | 11011001 | 11001001 | 11011100 |
Octal | 331 | 311 | 334 |
Examples of css and html codes for elements with #D9C9DC color. Also use rgb(217,201,220) instead hex code.
.myTextColor { color: #D9C9DC; }
<p style="color:#D9C9DC">This sample text font color is #D9C9DC.</p>
This text font color is #D9C9DC.
.myBgColor { background-color: #D9C9DC; }
<div style="background-color:#D9C9DC">Inner text</div>
This div background color is #D9C9DC.
.myBorderColor { border: 1px solid #D9C9DC; }
<div style="border:3px solid #D9C9DC">Div</div>
This div border color is #D9C9DC.
.myOpacity80 { color: #D9C9DC; opacity: 0.8; }
<p style="color:#D9C9DC;opacity:0.8;">80%</p>
Text with #D9C9DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C9DC;}
<p style="text-shadow: 3px 3px 1px #D9C9DC">Text here.</p>
This text has shadow with #D9C9DC color.
.textShadow {text-shadow: 3px 3px 1px #D9C9DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C9DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C9DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C9DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C9DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C9DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C9DC; -webkit-box-shadow: 1px 1px 3px 2px #D9C9DC; box-shadow: 1px 1px 3px 2px #D9C9DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C9DC; -webkit-box-shadow: 1px 1px 3px 2px #D9C9DC; box-shadow:1px 1px 3px 2px #D9C9DC;">
Div content here</div>
This text has color #D9C9DC on black background.
This text has color #D9C9DC on white background.
This text has black color on #D9C9DC background.
This text has white color on #D9C9DC background.