HEX: #D8E6AD
RGB: (216,230,173)
#D8E6AD contains red, green and blue colors in about the same proportion. Web safe color of #D8E6AD is #CCCC99 (or #CC9).
#D8E6AD color RGB value is (216,230,173).
RGB: (216,230,173) (85%,90%,68%)
R 216 of 255 = 85%
G 230 of 255 = 90%
B 173 of 255 = 68%
R + G + B ~ 81%. #D8E6AD is quite light color.
R + G + B =
216 + 230 + 173 = 619 (100%)
R 216 of 619 ~ 34.89%
G 230 of 619 ~ 37.16%
B 173 of 619 ~ 27.95%
#D8E6AD color CMYK value is (6,0,25,10).
CMYK: (6,0,25,10) C6M0Y25K10 (6%,0%,25%,10%) (0.06/0.00/0.25/0.10)
D8 | E6 | AD | |
---|---|---|---|
RGB | 216 | 230 | 173 |
HSL | 75° | 53.27% | 79.02% |
HSB/HSV | 75° | 24.78% | 90.20% |
CMYK | 6.09% | 0.00% | 24.78% |
9.80% |
HEX | D8 | E6 | AD |
Decimal | 216 | 230 | 173 |
Binary | 11011000 | 11100110 | 10101101 |
Octal | 330 | 346 | 255 |
Examples of css and html codes for elements with #D8E6AD color. Also use rgb(216,230,173) instead hex code.
.myTextColor { color: #D8E6AD; }
<p style="color:#D8E6AD">This sample text font color is #D8E6AD.</p>
This text font color is #D8E6AD.
.myBgColor { background-color: #D8E6AD; }
<div style="background-color:#D8E6AD">Inner text</div>
This div background color is #D8E6AD.
.myBorderColor { border: 1px solid #D8E6AD; }
<div style="border:3px solid #D8E6AD">Div</div>
This div border color is #D8E6AD.
.myOpacity80 { color: #D8E6AD; opacity: 0.8; }
<p style="color:#D8E6AD;opacity:0.8;">80%</p>
Text with #D8E6AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8E6AD;}
<p style="text-shadow: 3px 3px 1px #D8E6AD">Text here.</p>
This text has shadow with #D8E6AD color.
.textShadow {text-shadow: 3px 3px 1px #D8E6AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8E6AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8E6AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8E6AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8E6AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8E6AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8E6AD; -webkit-box-shadow: 1px 1px 3px 2px #D8E6AD; box-shadow: 1px 1px 3px 2px #D8E6AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8E6AD; -webkit-box-shadow: 1px 1px 3px 2px #D8E6AD; box-shadow:1px 1px 3px 2px #D8E6AD;">
Div content here</div>
This text has color #D8E6AD on black background.
This text has color #D8E6AD on white background.
This text has black color on #D8E6AD background.
This text has white color on #D8E6AD background.