HEX: #D6F1AB
RGB: (214,241,171)
#D6F1AB contains mainly red and green colors. Web safe color of #D6F1AB is #CCFF99 (or #CF9).
#D6F1AB color RGB value is (214,241,171).
RGB: (214,241,171) (84%,95%,67%)
R 214 of 255 = 84%
G 241 of 255 = 95%
B 171 of 255 = 67%
R + G + B ~ 82%. #D6F1AB is quite light color.
R + G + B =
214 + 241 + 171 = 626 (100%)
R 214 of 626 ~ 34.19%
G 241 of 626 ~ 38.5%
B 171 of 626 ~ 27.32%
#D6F1AB color CMYK value is (11,0,29,5).
CMYK: (11,0,29,5) C11M0Y29K5 (11%,0%,29%,5%) (0.11/0.00/0.29/0.05)
D6 | F1 | AB | |
---|---|---|---|
RGB | 214 | 241 | 171 |
HSL | 83° | 71.43% | 80.78% |
HSB/HSV | 83° | 29.05% | 94.51% |
CMYK | 11.20% | 0.00% | 29.05% |
5.49% |
HEX | D6 | F1 | AB |
Decimal | 214 | 241 | 171 |
Binary | 11010110 | 11110001 | 10101011 |
Octal | 326 | 361 | 253 |
Examples of css and html codes for elements with #D6F1AB color. Also use rgb(214,241,171) instead hex code.
.myTextColor { color: #D6F1AB; }
<p style="color:#D6F1AB">This sample text font color is #D6F1AB.</p>
This text font color is #D6F1AB.
.myBgColor { background-color: #D6F1AB; }
<div style="background-color:#D6F1AB">Inner text</div>
This div background color is #D6F1AB.
.myBorderColor { border: 1px solid #D6F1AB; }
<div style="border:3px solid #D6F1AB">Div</div>
This div border color is #D6F1AB.
.myOpacity80 { color: #D6F1AB; opacity: 0.8; }
<p style="color:#D6F1AB;opacity:0.8;">80%</p>
Text with #D6F1AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6F1AB;}
<p style="text-shadow: 3px 3px 1px #D6F1AB">Text here.</p>
This text has shadow with #D6F1AB color.
.textShadow {text-shadow: 3px 3px 1px #D6F1AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6F1AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6F1AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6F1AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6F1AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6F1AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6F1AB; -webkit-box-shadow: 1px 1px 3px 2px #D6F1AB; box-shadow: 1px 1px 3px 2px #D6F1AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6F1AB; -webkit-box-shadow: 1px 1px 3px 2px #D6F1AB; box-shadow:1px 1px 3px 2px #D6F1AB;">
Div content here</div>
This text has color #D6F1AB on black background.
This text has color #D6F1AB on white background.
This text has black color on #D6F1AB background.
This text has white color on #D6F1AB background.