HEX: #D6F98C
RGB: (214,249,140)
#D6F98C contains mainly red and green colors. Web safe color of #D6F98C is #CCFF99 (or #CF9).
#D6F98C color RGB value is (214,249,140).
RGB: (214,249,140) (84%,98%,55%)
R 214 of 255 = 84%
G 249 of 255 = 98%
B 140 of 255 = 55%
R + G + B ~ 79%. #D6F98C is quite light color.
R + G + B =
214 + 249 + 140 = 603 (100%)
R 214 of 603 ~ 35.49%
G 249 of 603 ~ 41.29%
B 140 of 603 ~ 23.22%
#D6F98C color CMYK value is (14,0,44,2).
CMYK: (14,0,44,2) C14M0Y44K2 (14%,0%,44%,2%) (0.14/0.00/0.44/0.02)
D6 | F9 | 8C | |
---|---|---|---|
RGB | 214 | 249 | 140 |
HSL | 79° | 90.08% | 76.27% |
HSB/HSV | 79° | 43.78% | 97.65% |
CMYK | 14.06% | 0.00% | 43.78% |
2.35% |
HEX | D6 | F9 | 8C |
Decimal | 214 | 249 | 140 |
Binary | 11010110 | 11111001 | 10001100 |
Octal | 326 | 371 | 214 |
Examples of css and html codes for elements with #D6F98C color. Also use rgb(214,249,140) instead hex code.
.myTextColor { color: #D6F98C; }
<p style="color:#D6F98C">This sample text font color is #D6F98C.</p>
This text font color is #D6F98C.
.myBgColor { background-color: #D6F98C; }
<div style="background-color:#D6F98C">Inner text</div>
This div background color is #D6F98C.
.myBorderColor { border: 1px solid #D6F98C; }
<div style="border:3px solid #D6F98C">Div</div>
This div border color is #D6F98C.
.myOpacity80 { color: #D6F98C; opacity: 0.8; }
<p style="color:#D6F98C;opacity:0.8;">80%</p>
Text with #D6F98C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D6F98C;}
<p style="text-shadow: 3px 3px 1px #D6F98C">Text here.</p>
This text has shadow with #D6F98C color.
.textShadow {text-shadow: 3px 3px 1px #D6F98C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D6F98C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D6F98C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D6F98C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D6F98C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D6F98C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D6F98C; -webkit-box-shadow: 1px 1px 3px 2px #D6F98C; box-shadow: 1px 1px 3px 2px #D6F98C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D6F98C; -webkit-box-shadow: 1px 1px 3px 2px #D6F98C; box-shadow:1px 1px 3px 2px #D6F98C;">
Div content here</div>
This text has color #D6F98C on black background.
This text has color #D6F98C on white background.
This text has black color on #D6F98C background.
This text has white color on #D6F98C background.