HEX: #4C8E62
RGB: (76,142,98)
#4C8E62 contains mainly green and blue colors. Web safe color of #4C8E62 is #339966 (or #396).
#4C8E62 color RGB value is (76,142,98).
RGB: (76,142,98) (30%,56%,38%)
R 76 of 255 = 30%
G 142 of 255 = 56%
B 98 of 255 = 38%
R + G + B ~ 41%. #4C8E62 is middle color (not dark and not light).
R + G + B =
76 + 142 + 98 = 316 (100%)
R 76 of 316 ~ 24.05%
G 142 of 316 ~ 44.94%
B 98 of 316 ~ 31.01%
#4C8E62 color CMYK value is (46,0,31,44).
CMYK: (46,0,31,44) C46M0Y31K44 (46%,0%,31%,44%) (0.46/0.00/0.31/0.44)
4C | 8E | 62 | |
---|---|---|---|
RGB | 76 | 142 | 98 |
HSL | 140° | 30.28% | 42.75% |
HSB/HSV | 140° | 46.48% | 55.69% |
CMYK | 46.48% | 0.00% | 30.99% |
44.31% |
HEX | 4C | 8E | 62 |
Decimal | 76 | 142 | 98 |
Binary | 1001100 | 10001110 | 1100010 |
Octal | 114 | 216 | 142 |
Examples of css and html codes for elements with #4C8E62 color. Also use rgb(76,142,98) instead hex code.
.myTextColor { color: #4C8E62; }
<p style="color:#4C8E62">This sample text font color is #4C8E62.</p>
This text font color is #4C8E62.
.myBgColor { background-color: #4C8E62; }
<div style="background-color:#4C8E62">Inner text</div>
This div background color is #4C8E62.
.myBorderColor { border: 1px solid #4C8E62; }
<div style="border:3px solid #4C8E62">Div</div>
This div border color is #4C8E62.
.myOpacity80 { color: #4C8E62; opacity: 0.8; }
<p style="color:#4C8E62;opacity:0.8;">80%</p>
Text with #4C8E62 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C8E62;}
<p style="text-shadow: 3px 3px 1px #4C8E62">Text here.</p>
This text has shadow with #4C8E62 color.
.textShadow {text-shadow: 3px 3px 1px #4C8E62, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C8E62, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C8E62 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C8E62, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C8E62, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C8E62 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C8E62; -webkit-box-shadow: 1px 1px 3px 2px #4C8E62; box-shadow: 1px 1px 3px 2px #4C8E62; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C8E62; -webkit-box-shadow: 1px 1px 3px 2px #4C8E62; box-shadow:1px 1px 3px 2px #4C8E62;">
Div content here</div>
This text has color #4C8E62 on black background.
This text has color #4C8E62 on white background.
This text has black color on #4C8E62 background.
This text has white color on #4C8E62 background.