HEX: #8EA75F
RGB: (142,167,95)
#8EA75F contains mainly red and green colors. Web safe color of #8EA75F is #999966 (or #996).
#8EA75F color RGB value is (142,167,95).
RGB: (142,167,95) (56%,65%,37%)
R 142 of 255 = 56%
G 167 of 255 = 65%
B 95 of 255 = 37%
R + G + B ~ 53%. #8EA75F is middle color (not dark and not light).
R + G + B =
142 + 167 + 95 = 404 (100%)
R 142 of 404 ~ 35.15%
G 167 of 404 ~ 41.34%
B 95 of 404 ~ 23.51%
#8EA75F color CMYK value is (15,0,43,35).
CMYK: (15,0,43,35) C15M0Y43K35 (15%,0%,43%,35%) (0.15/0.00/0.43/0.35)
8E | A7 | 5F | |
---|---|---|---|
RGB | 142 | 167 | 95 |
HSL | 81° | 29.03% | 51.37% |
HSB/HSV | 81° | 43.11% | 65.49% |
CMYK | 14.97% | 0.00% | 43.11% |
34.51% |
HEX | 8E | A7 | 5F |
Decimal | 142 | 167 | 95 |
Binary | 10001110 | 10100111 | 1011111 |
Octal | 216 | 247 | 137 |
Examples of css and html codes for elements with #8EA75F color. Also use rgb(142,167,95) instead hex code.
.myTextColor { color: #8EA75F; }
<p style="color:#8EA75F">This sample text font color is #8EA75F.</p>
This text font color is #8EA75F.
.myBgColor { background-color: #8EA75F; }
<div style="background-color:#8EA75F">Inner text</div>
This div background color is #8EA75F.
.myBorderColor { border: 1px solid #8EA75F; }
<div style="border:3px solid #8EA75F">Div</div>
This div border color is #8EA75F.
.myOpacity80 { color: #8EA75F; opacity: 0.8; }
<p style="color:#8EA75F;opacity:0.8;">80%</p>
Text with #8EA75F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EA75F;}
<p style="text-shadow: 3px 3px 1px #8EA75F">Text here.</p>
This text has shadow with #8EA75F color.
.textShadow {text-shadow: 3px 3px 1px #8EA75F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EA75F, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EA75F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EA75F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EA75F, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EA75F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EA75F; -webkit-box-shadow: 1px 1px 3px 2px #8EA75F; box-shadow: 1px 1px 3px 2px #8EA75F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EA75F; -webkit-box-shadow: 1px 1px 3px 2px #8EA75F; box-shadow:1px 1px 3px 2px #8EA75F;">
Div content here</div>
This text has color #8EA75F on black background.
This text has color #8EA75F on white background.
This text has black color on #8EA75F background.
This text has white color on #8EA75F background.