HEX: #4E8C57
RGB: (78,140,87)
#4E8C57 contains mainly green and blue colors. Web safe color of #4E8C57 is #669966 (or #696).
#4E8C57 color RGB value is (78,140,87).
RGB: (78,140,87) (31%,55%,34%)
R 78 of 255 = 31%
G 140 of 255 = 55%
B 87 of 255 = 34%
R + G + B ~ 40%. #4E8C57 is middle color (not dark and not light).
R + G + B =
78 + 140 + 87 = 305 (100%)
R 78 of 305 ~ 25.57%
G 140 of 305 ~ 45.9%
B 87 of 305 ~ 28.52%
#4E8C57 color CMYK value is (44,0,38,45).
CMYK: (44,0,38,45) C44M0Y38K45 (44%,0%,38%,45%) (0.44/0.00/0.38/0.45)
4E | 8C | 57 | |
---|---|---|---|
RGB | 78 | 140 | 87 |
HSL | 129° | 28.44% | 42.75% |
HSB/HSV | 129° | 44.29% | 54.90% |
CMYK | 44.29% | 0.00% | 37.86% |
45.10% |
HEX | 4E | 8C | 57 |
Decimal | 78 | 140 | 87 |
Binary | 1001110 | 10001100 | 1010111 |
Octal | 116 | 214 | 127 |
Examples of css and html codes for elements with #4E8C57 color. Also use rgb(78,140,87) instead hex code.
.myTextColor { color: #4E8C57; }
<p style="color:#4E8C57">This sample text font color is #4E8C57.</p>
This text font color is #4E8C57.
.myBgColor { background-color: #4E8C57; }
<div style="background-color:#4E8C57">Inner text</div>
This div background color is #4E8C57.
.myBorderColor { border: 1px solid #4E8C57; }
<div style="border:3px solid #4E8C57">Div</div>
This div border color is #4E8C57.
.myOpacity80 { color: #4E8C57; opacity: 0.8; }
<p style="color:#4E8C57;opacity:0.8;">80%</p>
Text with #4E8C57 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E8C57;}
<p style="text-shadow: 3px 3px 1px #4E8C57">Text here.</p>
This text has shadow with #4E8C57 color.
.textShadow {text-shadow: 3px 3px 1px #4E8C57, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E8C57, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E8C57 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E8C57, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E8C57, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E8C57 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E8C57; -webkit-box-shadow: 1px 1px 3px 2px #4E8C57; box-shadow: 1px 1px 3px 2px #4E8C57; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E8C57; -webkit-box-shadow: 1px 1px 3px 2px #4E8C57; box-shadow:1px 1px 3px 2px #4E8C57;">
Div content here</div>
This text has color #4E8C57 on black background.
This text has color #4E8C57 on white background.
This text has black color on #4E8C57 background.
This text has white color on #4E8C57 background.