HEX: #8EDB2E
RGB: (142,219,46)
#8EDB2E contains mainly green color. Web safe color of #8EDB2E is #99CC33 (or #9C3).
#8EDB2E color RGB value is (142,219,46).
RGB: (142,219,46) (56%,86%,18%)
R 142 of 255 = 56%
G 219 of 255 = 86%
B 46 of 255 = 18%
R + G + B ~ 53%. #8EDB2E is middle color (not dark and not light).
R + G + B =
142 + 219 + 46 = 407 (100%)
R 142 of 407 ~ 34.89%
G 219 of 407 ~ 53.81%
B 46 of 407 ~ 11.3%
#8EDB2E color CMYK value is (35,0,79,14).
CMYK: (35,0,79,14) C35M0Y79K14 (35%,0%,79%,14%) (0.35/0.00/0.79/0.14)
8E | DB | 2E | |
---|---|---|---|
RGB | 142 | 219 | 46 |
HSL | 87° | 70.61% | 51.96% |
HSB/HSV | 87° | 79.00% | 85.88% |
CMYK | 35.16% | 0.00% | 79.00% |
14.12% |
HEX | 8E | DB | 2E |
Decimal | 142 | 219 | 46 |
Binary | 10001110 | 11011011 | 101110 |
Octal | 216 | 333 | 56 |
Examples of css and html codes for elements with #8EDB2E color. Also use rgb(142,219,46) instead hex code.
.myTextColor { color: #8EDB2E; }
<p style="color:#8EDB2E">This sample text font color is #8EDB2E.</p>
This text font color is #8EDB2E.
.myBgColor { background-color: #8EDB2E; }
<div style="background-color:#8EDB2E">Inner text</div>
This div background color is #8EDB2E.
.myBorderColor { border: 1px solid #8EDB2E; }
<div style="border:3px solid #8EDB2E">Div</div>
This div border color is #8EDB2E.
.myOpacity80 { color: #8EDB2E; opacity: 0.8; }
<p style="color:#8EDB2E;opacity:0.8;">80%</p>
Text with #8EDB2E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EDB2E;}
<p style="text-shadow: 3px 3px 1px #8EDB2E">Text here.</p>
This text has shadow with #8EDB2E color.
.textShadow {text-shadow: 3px 3px 1px #8EDB2E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EDB2E, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EDB2E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EDB2E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EDB2E, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EDB2E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EDB2E; -webkit-box-shadow: 1px 1px 3px 2px #8EDB2E; box-shadow: 1px 1px 3px 2px #8EDB2E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EDB2E; -webkit-box-shadow: 1px 1px 3px 2px #8EDB2E; box-shadow:1px 1px 3px 2px #8EDB2E;">
Div content here</div>
This text has color #8EDB2E on black background.
This text has color #8EDB2E on white background.
This text has black color on #8EDB2E background.
This text has white color on #8EDB2E background.