HEX: #D4FFAB
RGB: (212,255,171)
#D4FFAB contains mainly red and green colors. Web safe color of #D4FFAB is #CCFF99 (or #CF9).
#D4FFAB color RGB value is (212,255,171).
RGB: (212,255,171) (83%,100%,67%)
R 212 of 255 = 83%
G 255 of 255 = 100%
B 171 of 255 = 67%
R + G + B ~ 83%. #D4FFAB is quite light color.
R + G + B =
212 + 255 + 171 = 638 (100%)
R 212 of 638 ~ 33.23%
G 255 of 638 ~ 39.97%
B 171 of 638 ~ 26.8%
#D4FFAB color CMYK value is (17,0,33,0).
CMYK: (17,0,33,0) C17M0Y33K0 (17%,0%,33%,0%) (0.17/0.00/0.33/0.00)
D4 | FF | AB | |
---|---|---|---|
RGB | 212 | 255 | 171 |
HSL | 91° | 100.00% | 83.53% |
HSB/HSV | 91° | 32.94% | 100.00% |
CMYK | 16.86% | 0.00% | 32.94% |
0.00% |
HEX | D4 | FF | AB |
Decimal | 212 | 255 | 171 |
Binary | 11010100 | 11111111 | 10101011 |
Octal | 324 | 377 | 253 |
Examples of css and html codes for elements with #D4FFAB color. Also use rgb(212,255,171) instead hex code.
.myTextColor { color: #D4FFAB; }
<p style="color:#D4FFAB">This sample text font color is #D4FFAB.</p>
This text font color is #D4FFAB.
.myBgColor { background-color: #D4FFAB; }
<div style="background-color:#D4FFAB">Inner text</div>
This div background color is #D4FFAB.
.myBorderColor { border: 1px solid #D4FFAB; }
<div style="border:3px solid #D4FFAB">Div</div>
This div border color is #D4FFAB.
.myOpacity80 { color: #D4FFAB; opacity: 0.8; }
<p style="color:#D4FFAB;opacity:0.8;">80%</p>
Text with #D4FFAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4FFAB;}
<p style="text-shadow: 3px 3px 1px #D4FFAB">Text here.</p>
This text has shadow with #D4FFAB color.
.textShadow {text-shadow: 3px 3px 1px #D4FFAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4FFAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4FFAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4FFAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4FFAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4FFAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4FFAB; -webkit-box-shadow: 1px 1px 3px 2px #D4FFAB; box-shadow: 1px 1px 3px 2px #D4FFAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4FFAB; -webkit-box-shadow: 1px 1px 3px 2px #D4FFAB; box-shadow:1px 1px 3px 2px #D4FFAB;">
Div content here</div>
This text has color #D4FFAB on black background.
This text has color #D4FFAB on white background.
This text has black color on #D4FFAB background.
This text has white color on #D4FFAB background.