HEX: #D9F5A4
RGB: (217,245,164)
#D9F5A4 contains mainly red and green colors. Web safe color of #D9F5A4 is #CCFF99 (or #CF9).
#D9F5A4 color RGB value is (217,245,164).
RGB: (217,245,164) (85%,96%,64%)
R 217 of 255 = 85%
G 245 of 255 = 96%
B 164 of 255 = 64%
R + G + B ~ 82%. #D9F5A4 is quite light color.
R + G + B =
217 + 245 + 164 = 626 (100%)
R 217 of 626 ~ 34.66%
G 245 of 626 ~ 39.14%
B 164 of 626 ~ 26.2%
#D9F5A4 color CMYK value is (11,0,33,4).
CMYK: (11,0,33,4) C11M0Y33K4 (11%,0%,33%,4%) (0.11/0.00/0.33/0.04)
D9 | F5 | A4 | |
---|---|---|---|
RGB | 217 | 245 | 164 |
HSL | 81° | 80.20% | 80.20% |
HSB/HSV | 81° | 33.06% | 96.08% |
CMYK | 11.43% | 0.00% | 33.06% |
3.92% |
HEX | D9 | F5 | A4 |
Decimal | 217 | 245 | 164 |
Binary | 11011001 | 11110101 | 10100100 |
Octal | 331 | 365 | 244 |
Examples of css and html codes for elements with #D9F5A4 color. Also use rgb(217,245,164) instead hex code.
.myTextColor { color: #D9F5A4; }
<p style="color:#D9F5A4">This sample text font color is #D9F5A4.</p>
This text font color is #D9F5A4.
.myBgColor { background-color: #D9F5A4; }
<div style="background-color:#D9F5A4">Inner text</div>
This div background color is #D9F5A4.
.myBorderColor { border: 1px solid #D9F5A4; }
<div style="border:3px solid #D9F5A4">Div</div>
This div border color is #D9F5A4.
.myOpacity80 { color: #D9F5A4; opacity: 0.8; }
<p style="color:#D9F5A4;opacity:0.8;">80%</p>
Text with #D9F5A4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9F5A4;}
<p style="text-shadow: 3px 3px 1px #D9F5A4">Text here.</p>
This text has shadow with #D9F5A4 color.
.textShadow {text-shadow: 3px 3px 1px #D9F5A4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9F5A4, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9F5A4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9F5A4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9F5A4, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9F5A4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9F5A4; -webkit-box-shadow: 1px 1px 3px 2px #D9F5A4; box-shadow: 1px 1px 3px 2px #D9F5A4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9F5A4; -webkit-box-shadow: 1px 1px 3px 2px #D9F5A4; box-shadow:1px 1px 3px 2px #D9F5A4;">
Div content here</div>
This text has color #D9F5A4 on black background.
This text has color #D9F5A4 on white background.
This text has black color on #D9F5A4 background.
This text has white color on #D9F5A4 background.