HEX: #E2EC1E
RGB: (226,236,30)
#E2EC1E contains mainly red and green colors. Web safe color of #E2EC1E is #CCFF33 (or #CF3).
#E2EC1E color RGB value is (226,236,30).
RGB: (226,236,30) (89%,93%,12%)
R 226 of 255 = 89%
G 236 of 255 = 93%
B 30 of 255 = 12%
R + G + B ~ 65%. #E2EC1E is quite light color.
R + G + B =
226 + 236 + 30 = 492 (100%)
R 226 of 492 ~ 45.93%
G 236 of 492 ~ 47.97%
B 30 of 492 ~ 6.1%
#E2EC1E color CMYK value is (4,0,87,7).
CMYK: (4,0,87,7) C4M0Y87K7 (4%,0%,87%,7%) (0.04/0.00/0.87/0.07)
E2 | EC | 1E | |
---|---|---|---|
RGB | 226 | 236 | 30 |
HSL | 63° | 84.43% | 52.16% |
HSB/HSV | 63° | 87.29% | 92.55% |
CMYK | 4.24% | 0.00% | 87.29% |
7.45% |
HEX | E2 | EC | 1E |
Decimal | 226 | 236 | 30 |
Binary | 11100010 | 11101100 | 11110 |
Octal | 342 | 354 | 36 |
Examples of css and html codes for elements with #E2EC1E color. Also use rgb(226,236,30) instead hex code.
.myTextColor { color: #E2EC1E; }
<p style="color:#E2EC1E">This sample text font color is #E2EC1E.</p>
This text font color is #E2EC1E.
.myBgColor { background-color: #E2EC1E; }
<div style="background-color:#E2EC1E">Inner text</div>
This div background color is #E2EC1E.
.myBorderColor { border: 1px solid #E2EC1E; }
<div style="border:3px solid #E2EC1E">Div</div>
This div border color is #E2EC1E.
.myOpacity80 { color: #E2EC1E; opacity: 0.8; }
<p style="color:#E2EC1E;opacity:0.8;">80%</p>
Text with #E2EC1E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2EC1E;}
<p style="text-shadow: 3px 3px 1px #E2EC1E">Text here.</p>
This text has shadow with #E2EC1E color.
.textShadow {text-shadow: 3px 3px 1px #E2EC1E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2EC1E, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2EC1E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2EC1E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2EC1E, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2EC1E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2EC1E; -webkit-box-shadow: 1px 1px 3px 2px #E2EC1E; box-shadow: 1px 1px 3px 2px #E2EC1E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2EC1E; -webkit-box-shadow: 1px 1px 3px 2px #E2EC1E; box-shadow:1px 1px 3px 2px #E2EC1E;">
Div content here</div>
This text has color #E2EC1E on black background.
This text has color #E2EC1E on white background.
This text has black color on #E2EC1E background.
This text has white color on #E2EC1E background.