HEX: #8EA541
RGB: (142,165,65)
#8EA541 contains mainly red and green colors. Web safe color of #8EA541 is #999933 (or #993).
#8EA541 color RGB value is (142,165,65).
RGB: (142,165,65) (56%,65%,25%)
R 142 of 255 = 56%
G 165 of 255 = 65%
B 65 of 255 = 25%
R + G + B ~ 49%. #8EA541 is middle color (not dark and not light).
R + G + B =
142 + 165 + 65 = 372 (100%)
R 142 of 372 ~ 38.17%
G 165 of 372 ~ 44.35%
B 65 of 372 ~ 17.47%
#8EA541 color CMYK value is (14,0,61,35).
CMYK: (14,0,61,35) C14M0Y61K35 (14%,0%,61%,35%) (0.14/0.00/0.61/0.35)
8E | A5 | 41 | |
---|---|---|---|
RGB | 142 | 165 | 65 |
HSL | 74° | 43.48% | 45.10% |
HSB/HSV | 74° | 60.61% | 64.71% |
CMYK | 13.94% | 0.00% | 60.61% |
35.29% |
HEX | 8E | A5 | 41 |
Decimal | 142 | 165 | 65 |
Binary | 10001110 | 10100101 | 1000001 |
Octal | 216 | 245 | 101 |
Examples of css and html codes for elements with #8EA541 color. Also use rgb(142,165,65) instead hex code.
.myTextColor { color: #8EA541; }
<p style="color:#8EA541">This sample text font color is #8EA541.</p>
This text font color is #8EA541.
.myBgColor { background-color: #8EA541; }
<div style="background-color:#8EA541">Inner text</div>
This div background color is #8EA541.
.myBorderColor { border: 1px solid #8EA541; }
<div style="border:3px solid #8EA541">Div</div>
This div border color is #8EA541.
.myOpacity80 { color: #8EA541; opacity: 0.8; }
<p style="color:#8EA541;opacity:0.8;">80%</p>
Text with #8EA541 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8EA541;}
<p style="text-shadow: 3px 3px 1px #8EA541">Text here.</p>
This text has shadow with #8EA541 color.
.textShadow {text-shadow: 3px 3px 1px #8EA541, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8EA541, 5px 5px 20px red">Text here.</p>
This text has shadow with #8EA541 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8EA541, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8EA541, Direction=45, Strength=4)">Text</p>
This text has shadow with #8EA541 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8EA541; -webkit-box-shadow: 1px 1px 3px 2px #8EA541; box-shadow: 1px 1px 3px 2px #8EA541; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8EA541; -webkit-box-shadow: 1px 1px 3px 2px #8EA541; box-shadow:1px 1px 3px 2px #8EA541;">
Div content here</div>
This text has color #8EA541 on black background.
This text has color #8EA541 on white background.
This text has black color on #8EA541 background.
This text has white color on #8EA541 background.