HEX: #4E822F
RGB: (78,130,47)
#4E822F contains mainly red and green colors. Web safe color of #4E822F is #669933 (or #693).
#4E822F color RGB value is (78,130,47).
RGB: (78,130,47) (31%,51%,18%)
R 78 of 255 = 31%
G 130 of 255 = 51%
B 47 of 255 = 18%
R + G + B ~ 33%. #4E822F is quite dark color.
R + G + B =
78 + 130 + 47 = 255 (100%)
R 78 of 255 ~ 30.59%
G 130 of 255 ~ 50.98%
B 47 of 255 ~ 18.43%
#4E822F color CMYK value is (40,0,64,49).
CMYK: (40,0,64,49) C40M0Y64K49 (40%,0%,64%,49%) (0.40/0.00/0.64/0.49)
4E | 82 | 2F | |
---|---|---|---|
RGB | 78 | 130 | 47 |
HSL | 98° | 46.89% | 34.71% |
HSB/HSV | 98° | 63.85% | 50.98% |
CMYK | 40.00% | 0.00% | 63.85% |
49.02% |
HEX | 4E | 82 | 2F |
Decimal | 78 | 130 | 47 |
Binary | 1001110 | 10000010 | 101111 |
Octal | 116 | 202 | 57 |
Examples of css and html codes for elements with #4E822F color. Also use rgb(78,130,47) instead hex code.
.myTextColor { color: #4E822F; }
<p style="color:#4E822F">This sample text font color is #4E822F.</p>
This text font color is #4E822F.
.myBgColor { background-color: #4E822F; }
<div style="background-color:#4E822F">Inner text</div>
This div background color is #4E822F.
.myBorderColor { border: 1px solid #4E822F; }
<div style="border:3px solid #4E822F">Div</div>
This div border color is #4E822F.
.myOpacity80 { color: #4E822F; opacity: 0.8; }
<p style="color:#4E822F;opacity:0.8;">80%</p>
Text with #4E822F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E822F;}
<p style="text-shadow: 3px 3px 1px #4E822F">Text here.</p>
This text has shadow with #4E822F color.
.textShadow {text-shadow: 3px 3px 1px #4E822F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E822F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E822F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E822F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E822F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E822F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E822F; -webkit-box-shadow: 1px 1px 3px 2px #4E822F; box-shadow: 1px 1px 3px 2px #4E822F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E822F; -webkit-box-shadow: 1px 1px 3px 2px #4E822F; box-shadow:1px 1px 3px 2px #4E822F;">
Div content here</div>
This text has color #4E822F on black background.
This text has color #4E822F on white background.
This text has black color on #4E822F background.
This text has white color on #4E822F background.