HEX: #4D7011
RGB: (77,112,17)
#4D7011 contains mainly red and green colors. Web safe color of #4D7011 is #336600 (or #360).
#4D7011 color RGB value is (77,112,17).
RGB: (77,112,17) (30%,44%,7%)
R 77 of 255 = 30%
G 112 of 255 = 44%
B 17 of 255 = 7%
R + G + B ~ 27%. #4D7011 is quite dark color.
R + G + B =
77 + 112 + 17 = 206 (100%)
R 77 of 206 ~ 37.38%
G 112 of 206 ~ 54.37%
B 17 of 206 ~ 8.25%
#4D7011 color CMYK value is (31,0,85,56).
CMYK: (31,0,85,56) C31M0Y85K56 (31%,0%,85%,56%) (0.31/0.00/0.85/0.56)
4D | 70 | 11 | |
---|---|---|---|
RGB | 77 | 112 | 17 |
HSL | 82° | 73.64% | 25.29% |
HSB/HSV | 82° | 84.82% | 43.92% |
CMYK | 31.25% | 0.00% | 84.82% |
56.08% |
HEX | 4D | 70 | 11 |
Decimal | 77 | 112 | 17 |
Binary | 1001101 | 1110000 | 10001 |
Octal | 115 | 160 | 21 |
Examples of css and html codes for elements with #4D7011 color. Also use rgb(77,112,17) instead hex code.
.myTextColor { color: #4D7011; }
<p style="color:#4D7011">This sample text font color is #4D7011.</p>
This text font color is #4D7011.
.myBgColor { background-color: #4D7011; }
<div style="background-color:#4D7011">Inner text</div>
This div background color is #4D7011.
.myBorderColor { border: 1px solid #4D7011; }
<div style="border:3px solid #4D7011">Div</div>
This div border color is #4D7011.
.myOpacity80 { color: #4D7011; opacity: 0.8; }
<p style="color:#4D7011;opacity:0.8;">80%</p>
Text with #4D7011 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D7011;}
<p style="text-shadow: 3px 3px 1px #4D7011">Text here.</p>
This text has shadow with #4D7011 color.
.textShadow {text-shadow: 3px 3px 1px #4D7011, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D7011, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D7011 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D7011, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D7011, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D7011 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D7011; -webkit-box-shadow: 1px 1px 3px 2px #4D7011; box-shadow: 1px 1px 3px 2px #4D7011; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D7011; -webkit-box-shadow: 1px 1px 3px 2px #4D7011; box-shadow:1px 1px 3px 2px #4D7011;">
Div content here</div>
This text has color #4D7011 on black background.
This text has color #4D7011 on white background.
This text has black color on #4D7011 background.
This text has white color on #4D7011 background.