HEX: #4E7004
RGB: (78,112,4)
#4E7004 contains mainly red and green colors. Web safe color of #4E7004 is #666600 (or #660).
#4E7004 color RGB value is (78,112,4).
RGB: (78,112,4) (31%,44%,2%)
R 78 of 255 = 31%
G 112 of 255 = 44%
B 4 of 255 = 2%
R + G + B ~ 26%. #4E7004 is quite dark color.
R + G + B =
78 + 112 + 4 = 194 (100%)
R 78 of 194 ~ 40.21%
G 112 of 194 ~ 57.73%
B 4 of 194 ~ 2.06%
#4E7004 color CMYK value is (30,0,96,56).
CMYK: (30,0,96,56) C30M0Y96K56 (30%,0%,96%,56%) (0.30/0.00/0.96/0.56)
4E | 70 | 04 | |
---|---|---|---|
RGB | 78 | 112 | 4 |
HSL | 79° | 93.10% | 22.75% |
HSB/HSV | 79° | 96.43% | 43.92% |
CMYK | 30.36% | 0.00% | 96.43% |
56.08% |
HEX | 4E | 70 | 04 |
Decimal | 78 | 112 | 4 |
Binary | 1001110 | 1110000 | 100 |
Octal | 116 | 160 | 4 |
Examples of css and html codes for elements with #4E7004 color. Also use rgb(78,112,4) instead hex code.
.myTextColor { color: #4E7004; }
<p style="color:#4E7004">This sample text font color is #4E7004.</p>
This text font color is #4E7004.
.myBgColor { background-color: #4E7004; }
<div style="background-color:#4E7004">Inner text</div>
This div background color is #4E7004.
.myBorderColor { border: 1px solid #4E7004; }
<div style="border:3px solid #4E7004">Div</div>
This div border color is #4E7004.
.myOpacity80 { color: #4E7004; opacity: 0.8; }
<p style="color:#4E7004;opacity:0.8;">80%</p>
Text with #4E7004 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E7004;}
<p style="text-shadow: 3px 3px 1px #4E7004">Text here.</p>
This text has shadow with #4E7004 color.
.textShadow {text-shadow: 3px 3px 1px #4E7004, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E7004, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E7004 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E7004, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E7004, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E7004 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E7004; -webkit-box-shadow: 1px 1px 3px 2px #4E7004; box-shadow: 1px 1px 3px 2px #4E7004; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E7004; -webkit-box-shadow: 1px 1px 3px 2px #4E7004; box-shadow:1px 1px 3px 2px #4E7004;">
Div content here</div>
This text has color #4E7004 on black background.
This text has color #4E7004 on white background.
This text has black color on #4E7004 background.
This text has white color on #4E7004 background.