HEX: #D4EC70
RGB: (212,236,112)
#D4EC70 contains mainly red and green colors. Web safe color of #D4EC70 is #CCFF66 (or #CF6).
#D4EC70 color RGB value is (212,236,112).
RGB: (212,236,112) (83%,93%,44%)
R 212 of 255 = 83%
G 236 of 255 = 93%
B 112 of 255 = 44%
R + G + B ~ 73%. #D4EC70 is quite light color.
R + G + B =
212 + 236 + 112 = 560 (100%)
R 212 of 560 ~ 37.86%
G 236 of 560 ~ 42.14%
B 112 of 560 ~ 20%
#D4EC70 color CMYK value is (10,0,53,7).
CMYK: (10,0,53,7) C10M0Y53K7 (10%,0%,53%,7%) (0.10/0.00/0.53/0.07)
D4 | EC | 70 | |
---|---|---|---|
RGB | 212 | 236 | 112 |
HSL | 72° | 76.54% | 68.24% |
HSB/HSV | 72° | 52.54% | 92.55% |
CMYK | 10.17% | 0.00% | 52.54% |
7.45% |
HEX | D4 | EC | 70 |
Decimal | 212 | 236 | 112 |
Binary | 11010100 | 11101100 | 1110000 |
Octal | 324 | 354 | 160 |
Examples of css and html codes for elements with #D4EC70 color. Also use rgb(212,236,112) instead hex code.
.myTextColor { color: #D4EC70; }
<p style="color:#D4EC70">This sample text font color is #D4EC70.</p>
This text font color is #D4EC70.
.myBgColor { background-color: #D4EC70; }
<div style="background-color:#D4EC70">Inner text</div>
This div background color is #D4EC70.
.myBorderColor { border: 1px solid #D4EC70; }
<div style="border:3px solid #D4EC70">Div</div>
This div border color is #D4EC70.
.myOpacity80 { color: #D4EC70; opacity: 0.8; }
<p style="color:#D4EC70;opacity:0.8;">80%</p>
Text with #D4EC70 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4EC70;}
<p style="text-shadow: 3px 3px 1px #D4EC70">Text here.</p>
This text has shadow with #D4EC70 color.
.textShadow {text-shadow: 3px 3px 1px #D4EC70, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4EC70, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4EC70 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4EC70, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4EC70, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4EC70 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4EC70; -webkit-box-shadow: 1px 1px 3px 2px #D4EC70; box-shadow: 1px 1px 3px 2px #D4EC70; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4EC70; -webkit-box-shadow: 1px 1px 3px 2px #D4EC70; box-shadow:1px 1px 3px 2px #D4EC70;">
Div content here</div>
This text has color #D4EC70 on black background.
This text has color #D4EC70 on white background.
This text has black color on #D4EC70 background.
This text has white color on #D4EC70 background.