HEX: #D7E7DC
RGB: (215,231,220)
#D7E7DC contains red, green and blue colors in about the same proportion. Web safe color of #D7E7DC is #CCFFCC (or #CFC).
#D7E7DC color RGB value is (215,231,220).
RGB: (215,231,220) (84%,91%,86%)
R 215 of 255 = 84%
G 231 of 255 = 91%
B 220 of 255 = 86%
R + G + B ~ 87%. #D7E7DC is light color.
R + G + B =
215 + 231 + 220 = 666 (100%)
R 215 of 666 ~ 32.28%
G 231 of 666 ~ 34.68%
B 220 of 666 ~ 33.03%
#D7E7DC color CMYK value is (7,0,5,9).
CMYK: (7,0,5,9) C7M0Y5K9 (7%,0%,5%,9%) (0.07/0.00/0.05/0.09)
D7 | E7 | DC | |
---|---|---|---|
RGB | 215 | 231 | 220 |
HSL | 139° | 25.00% | 87.45% |
HSB/HSV | 139° | 6.93% | 90.59% |
CMYK | 6.93% | 0.00% | 4.76% |
9.41% |
HEX | D7 | E7 | DC |
Decimal | 215 | 231 | 220 |
Binary | 11010111 | 11100111 | 11011100 |
Octal | 327 | 347 | 334 |
Examples of css and html codes for elements with #D7E7DC color. Also use rgb(215,231,220) instead hex code.
.myTextColor { color: #D7E7DC; }
<p style="color:#D7E7DC">This sample text font color is #D7E7DC.</p>
This text font color is #D7E7DC.
.myBgColor { background-color: #D7E7DC; }
<div style="background-color:#D7E7DC">Inner text</div>
This div background color is #D7E7DC.
.myBorderColor { border: 1px solid #D7E7DC; }
<div style="border:3px solid #D7E7DC">Div</div>
This div border color is #D7E7DC.
.myOpacity80 { color: #D7E7DC; opacity: 0.8; }
<p style="color:#D7E7DC;opacity:0.8;">80%</p>
Text with #D7E7DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7E7DC;}
<p style="text-shadow: 3px 3px 1px #D7E7DC">Text here.</p>
This text has shadow with #D7E7DC color.
.textShadow {text-shadow: 3px 3px 1px #D7E7DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7E7DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7E7DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7E7DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7E7DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7E7DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7E7DC; -webkit-box-shadow: 1px 1px 3px 2px #D7E7DC; box-shadow: 1px 1px 3px 2px #D7E7DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7E7DC; -webkit-box-shadow: 1px 1px 3px 2px #D7E7DC; box-shadow:1px 1px 3px 2px #D7E7DC;">
Div content here</div>
This text has color #D7E7DC on black background.
This text has color #D7E7DC on white background.
This text has black color on #D7E7DC background.
This text has white color on #D7E7DC background.