HEX: #D7E8A7
RGB: (215,232,167)
#D7E8A7 contains mainly red and green colors. Web safe color of #D7E8A7 is #CCFF99 (or #CF9).
#D7E8A7 color RGB value is (215,232,167).
RGB: (215,232,167) (84%,91%,65%)
R 215 of 255 = 84%
G 232 of 255 = 91%
B 167 of 255 = 65%
R + G + B ~ 80%. #D7E8A7 is quite light color.
R + G + B =
215 + 232 + 167 = 614 (100%)
R 215 of 614 ~ 35.02%
G 232 of 614 ~ 37.79%
B 167 of 614 ~ 27.2%
#D7E8A7 color CMYK value is (7,0,28,9).
CMYK: (7,0,28,9) C7M0Y28K9 (7%,0%,28%,9%) (0.07/0.00/0.28/0.09)
D7 | E8 | A7 | |
---|---|---|---|
RGB | 215 | 232 | 167 |
HSL | 76° | 58.56% | 78.24% |
HSB/HSV | 76° | 28.02% | 90.98% |
CMYK | 7.33% | 0.00% | 28.02% |
9.02% |
HEX | D7 | E8 | A7 |
Decimal | 215 | 232 | 167 |
Binary | 11010111 | 11101000 | 10100111 |
Octal | 327 | 350 | 247 |
Examples of css and html codes for elements with #D7E8A7 color. Also use rgb(215,232,167) instead hex code.
.myTextColor { color: #D7E8A7; }
<p style="color:#D7E8A7">This sample text font color is #D7E8A7.</p>
This text font color is #D7E8A7.
.myBgColor { background-color: #D7E8A7; }
<div style="background-color:#D7E8A7">Inner text</div>
This div background color is #D7E8A7.
.myBorderColor { border: 1px solid #D7E8A7; }
<div style="border:3px solid #D7E8A7">Div</div>
This div border color is #D7E8A7.
.myOpacity80 { color: #D7E8A7; opacity: 0.8; }
<p style="color:#D7E8A7;opacity:0.8;">80%</p>
Text with #D7E8A7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7E8A7;}
<p style="text-shadow: 3px 3px 1px #D7E8A7">Text here.</p>
This text has shadow with #D7E8A7 color.
.textShadow {text-shadow: 3px 3px 1px #D7E8A7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7E8A7, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7E8A7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7E8A7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7E8A7, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7E8A7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7E8A7; -webkit-box-shadow: 1px 1px 3px 2px #D7E8A7; box-shadow: 1px 1px 3px 2px #D7E8A7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7E8A7; -webkit-box-shadow: 1px 1px 3px 2px #D7E8A7; box-shadow:1px 1px 3px 2px #D7E8A7;">
Div content here</div>
This text has color #D7E8A7 on black background.
This text has color #D7E8A7 on white background.
This text has black color on #D7E8A7 background.
This text has white color on #D7E8A7 background.