HEX: #D9F8CC
RGB: (217,248,204)
#D9F8CC contains red, green and blue colors in about the same proportion. Web safe color of #D9F8CC is #CCFFCC (or #CFC).
#D9F8CC color RGB value is (217,248,204).
RGB: (217,248,204) (85%,97%,80%)
R 217 of 255 = 85%
G 248 of 255 = 97%
B 204 of 255 = 80%
R + G + B ~ 87%. #D9F8CC is light color.
R + G + B =
217 + 248 + 204 = 669 (100%)
R 217 of 669 ~ 32.44%
G 248 of 669 ~ 37.07%
B 204 of 669 ~ 30.49%
#D9F8CC color CMYK value is (13,0,18,3).
CMYK: (13,0,18,3) C13M0Y18K3 (13%,0%,18%,3%) (0.13/0.00/0.18/0.03)
D9 | F8 | CC | |
---|---|---|---|
RGB | 217 | 248 | 204 |
HSL | 102° | 75.86% | 88.63% |
HSB/HSV | 102° | 17.74% | 97.25% |
CMYK | 12.50% | 0.00% | 17.74% |
2.75% |
HEX | D9 | F8 | CC |
Decimal | 217 | 248 | 204 |
Binary | 11011001 | 11111000 | 11001100 |
Octal | 331 | 370 | 314 |
Examples of css and html codes for elements with #D9F8CC color. Also use rgb(217,248,204) instead hex code.
.myTextColor { color: #D9F8CC; }
<p style="color:#D9F8CC">This sample text font color is #D9F8CC.</p>
This text font color is #D9F8CC.
.myBgColor { background-color: #D9F8CC; }
<div style="background-color:#D9F8CC">Inner text</div>
This div background color is #D9F8CC.
.myBorderColor { border: 1px solid #D9F8CC; }
<div style="border:3px solid #D9F8CC">Div</div>
This div border color is #D9F8CC.
.myOpacity80 { color: #D9F8CC; opacity: 0.8; }
<p style="color:#D9F8CC;opacity:0.8;">80%</p>
Text with #D9F8CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9F8CC;}
<p style="text-shadow: 3px 3px 1px #D9F8CC">Text here.</p>
This text has shadow with #D9F8CC color.
.textShadow {text-shadow: 3px 3px 1px #D9F8CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9F8CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9F8CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9F8CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9F8CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9F8CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9F8CC; -webkit-box-shadow: 1px 1px 3px 2px #D9F8CC; box-shadow: 1px 1px 3px 2px #D9F8CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9F8CC; -webkit-box-shadow: 1px 1px 3px 2px #D9F8CC; box-shadow:1px 1px 3px 2px #D9F8CC;">
Div content here</div>
This text has color #D9F8CC on black background.
This text has color #D9F8CC on white background.
This text has black color on #D9F8CC background.
This text has white color on #D9F8CC background.