HEX: #D9E6A0
RGB: (217,230,160)
#D9E6A0 contains mainly red and green colors. Web safe color of #D9E6A0 is #CCCC99 (or #CC9).
#D9E6A0 color RGB value is (217,230,160).
RGB: (217,230,160) (85%,90%,63%)
R 217 of 255 = 85%
G 230 of 255 = 90%
B 160 of 255 = 63%
R + G + B ~ 79%. #D9E6A0 is quite light color.
R + G + B =
217 + 230 + 160 = 607 (100%)
R 217 of 607 ~ 35.75%
G 230 of 607 ~ 37.89%
B 160 of 607 ~ 26.36%
#D9E6A0 color CMYK value is (6,0,30,10).
CMYK: (6,0,30,10) C6M0Y30K10 (6%,0%,30%,10%) (0.06/0.00/0.30/0.10)
D9 | E6 | A0 | |
---|---|---|---|
RGB | 217 | 230 | 160 |
HSL | 71° | 58.33% | 76.47% |
HSB/HSV | 71° | 30.43% | 90.20% |
CMYK | 5.65% | 0.00% | 30.43% |
9.80% |
HEX | D9 | E6 | A0 |
Decimal | 217 | 230 | 160 |
Binary | 11011001 | 11100110 | 10100000 |
Octal | 331 | 346 | 240 |
Examples of css and html codes for elements with #D9E6A0 color. Also use rgb(217,230,160) instead hex code.
.myTextColor { color: #D9E6A0; }
<p style="color:#D9E6A0">This sample text font color is #D9E6A0.</p>
This text font color is #D9E6A0.
.myBgColor { background-color: #D9E6A0; }
<div style="background-color:#D9E6A0">Inner text</div>
This div background color is #D9E6A0.
.myBorderColor { border: 1px solid #D9E6A0; }
<div style="border:3px solid #D9E6A0">Div</div>
This div border color is #D9E6A0.
.myOpacity80 { color: #D9E6A0; opacity: 0.8; }
<p style="color:#D9E6A0;opacity:0.8;">80%</p>
Text with #D9E6A0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9E6A0;}
<p style="text-shadow: 3px 3px 1px #D9E6A0">Text here.</p>
This text has shadow with #D9E6A0 color.
.textShadow {text-shadow: 3px 3px 1px #D9E6A0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9E6A0, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9E6A0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9E6A0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9E6A0, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9E6A0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9E6A0; -webkit-box-shadow: 1px 1px 3px 2px #D9E6A0; box-shadow: 1px 1px 3px 2px #D9E6A0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9E6A0; -webkit-box-shadow: 1px 1px 3px 2px #D9E6A0; box-shadow:1px 1px 3px 2px #D9E6A0;">
Div content here</div>
This text has color #D9E6A0 on black background.
This text has color #D9E6A0 on white background.
This text has black color on #D9E6A0 background.
This text has white color on #D9E6A0 background.