HEX: #8EA739
RGB: (142,167,57)
#8EA739 contains mainly red and green colors. Web safe color of #8EA739 is #999933 (or #993).
#8EA739 color RGB value is (142,167,57).
RGB: (142,167,57) (56%,65%,22%)
R 142 of 255 = 56%
G 167 of 255 = 65%
B 57 of 255 = 22%
R + G + B ~ 48%. #8EA739 is middle color (not dark and not light).
R + G + B =
142 + 167 + 57 = 366 (100%)
R 142 of 366 ~ 38.8%
G 167 of 366 ~ 45.63%
B 57 of 366 ~ 15.57%
#8EA739 color CMYK value is (15,0,66,35).
CMYK: (15,0,66,35) C15M0Y66K35 (15%,0%,66%,35%) (0.15/0.00/0.66/0.35)
8E | A7 | 39 | |
---|---|---|---|
RGB | 142 | 167 | 57 |
HSL | 74° | 49.11% | 43.92% |
HSB/HSV | 74° | 65.87% | 65.49% |
CMYK | 14.97% | 0.00% | 65.87% |
34.51% |
HEX | 8E | A7 | 39 |
Decimal | 142 | 167 | 57 |
Binary | 10001110 | 10100111 | 111001 |
Octal | 216 | 247 | 71 |
Examples of css and html codes for elements with #8EA739 color. Also use rgb(142,167,57) instead hex code.
.myTextColor { color: #8EA739; }
<p style="color:#8EA739">This sample text font color is #8EA739.</p>
This text font color is #8EA739.
.myBgColor { background-color: #8EA739; }
<div style="background-color:#8EA739">Inner text</div>
This div background color is #8EA739.
.myBorderColor { border: 1px solid #8EA739; }
<div style="border:3px solid #8EA739">Div</div>
This div border color is #8EA739.
.myOpacity80 { color: #8EA739; opacity: 0.8; }
<p style="color:#8EA739;opacity:0.8;">80%</p>
Text with #8EA739 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EA739;}
<p style="text-shadow: 3px 3px 1px #8EA739">Text here.</p>
This text has shadow with #8EA739 color.
.textShadow {text-shadow: 3px 3px 1px #8EA739, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EA739, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EA739 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EA739, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EA739, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EA739 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EA739; -webkit-box-shadow: 1px 1px 3px 2px #8EA739; box-shadow: 1px 1px 3px 2px #8EA739; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EA739; -webkit-box-shadow: 1px 1px 3px 2px #8EA739; box-shadow:1px 1px 3px 2px #8EA739;">
Div content here</div>
This text has color #8EA739 on black background.
This text has color #8EA739 on white background.
This text has black color on #8EA739 background.
This text has white color on #8EA739 background.