HEX: #D5D8DC
RGB: (213,216,220)
#D5D8DC contains red, green and blue colors in about the same proportion. Web safe color of #D5D8DC is #CCCCCC (or #CCC).
#D5D8DC color RGB value is (213,216,220).
RGB: (213,216,220) (84%,85%,86%)
R 213 of 255 = 84%
G 216 of 255 = 85%
B 220 of 255 = 86%
R + G + B ~ 85%. #D5D8DC is quite light color.
R + G + B =
213 + 216 + 220 = 649 (100%)
R 213 of 649 ~ 32.82%
G 216 of 649 ~ 33.28%
B 220 of 649 ~ 33.9%
#D5D8DC color CMYK value is (3,2,0,14).
CMYK: (3,2,0,14) C3M2Y0K14 (3%,2%,0%,14%) (0.03/0.02/0.00/0.14)
D5 | D8 | DC | |
---|---|---|---|
RGB | 213 | 216 | 220 |
HSL | 214° | 9.09% | 84.90% |
HSB/HSV | 214° | 3.18% | 86.27% |
CMYK | 3.18% | 1.82% | 0.00% |
13.73% |
HEX | D5 | D8 | DC |
Decimal | 213 | 216 | 220 |
Binary | 11010101 | 11011000 | 11011100 |
Octal | 325 | 330 | 334 |
Examples of css and html codes for elements with #D5D8DC color. Also use rgb(213,216,220) instead hex code.
.myTextColor { color: #D5D8DC; }
<p style="color:#D5D8DC">This sample text font color is #D5D8DC.</p>
This text font color is #D5D8DC.
.myBgColor { background-color: #D5D8DC; }
<div style="background-color:#D5D8DC">Inner text</div>
This div background color is #D5D8DC.
.myBorderColor { border: 1px solid #D5D8DC; }
<div style="border:3px solid #D5D8DC">Div</div>
This div border color is #D5D8DC.
.myOpacity80 { color: #D5D8DC; opacity: 0.8; }
<p style="color:#D5D8DC;opacity:0.8;">80%</p>
Text with #D5D8DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5D8DC;}
<p style="text-shadow: 3px 3px 1px #D5D8DC">Text here.</p>
This text has shadow with #D5D8DC color.
.textShadow {text-shadow: 3px 3px 1px #D5D8DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5D8DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5D8DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5D8DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5D8DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5D8DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5D8DC; -webkit-box-shadow: 1px 1px 3px 2px #D5D8DC; box-shadow: 1px 1px 3px 2px #D5D8DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5D8DC; -webkit-box-shadow: 1px 1px 3px 2px #D5D8DC; box-shadow:1px 1px 3px 2px #D5D8DC;">
Div content here</div>
This text has color #D5D8DC on black background.
This text has color #D5D8DC on white background.
This text has black color on #D5D8DC background.
This text has white color on #D5D8DC background.