HEX: #4C704B
RGB: (76,112,75)
#4C704B contains red, green and blue colors in about the same proportion. Web safe color of #4C704B is #336633 (or #363).
#4C704B color RGB value is (76,112,75).
RGB: (76,112,75) (30%,44%,29%)
R 76 of 255 = 30%
G 112 of 255 = 44%
B 75 of 255 = 29%
R + G + B ~ 34%. #4C704B is quite dark color.
R + G + B =
76 + 112 + 75 = 263 (100%)
R 76 of 263 ~ 28.9%
G 112 of 263 ~ 42.59%
B 75 of 263 ~ 28.52%
#4C704B color CMYK value is (32,0,33,56).
CMYK: (32,0,33,56) C32M0Y33K56 (32%,0%,33%,56%) (0.32/0.00/0.33/0.56)
4C | 70 | 4B | |
---|---|---|---|
RGB | 76 | 112 | 75 |
HSL | 118° | 19.79% | 36.67% |
HSB/HSV | 118° | 33.04% | 43.92% |
CMYK | 32.14% | 0.00% | 33.04% |
56.08% |
HEX | 4C | 70 | 4B |
Decimal | 76 | 112 | 75 |
Binary | 1001100 | 1110000 | 1001011 |
Octal | 114 | 160 | 113 |
Examples of css and html codes for elements with #4C704B color. Also use rgb(76,112,75) instead hex code.
.myTextColor { color: #4C704B; }
<p style="color:#4C704B">This sample text font color is #4C704B.</p>
This text font color is #4C704B.
.myBgColor { background-color: #4C704B; }
<div style="background-color:#4C704B">Inner text</div>
This div background color is #4C704B.
.myBorderColor { border: 1px solid #4C704B; }
<div style="border:3px solid #4C704B">Div</div>
This div border color is #4C704B.
.myOpacity80 { color: #4C704B; opacity: 0.8; }
<p style="color:#4C704B;opacity:0.8;">80%</p>
Text with #4C704B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C704B;}
<p style="text-shadow: 3px 3px 1px #4C704B">Text here.</p>
This text has shadow with #4C704B color.
.textShadow {text-shadow: 3px 3px 1px #4C704B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C704B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C704B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C704B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C704B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C704B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C704B; -webkit-box-shadow: 1px 1px 3px 2px #4C704B; box-shadow: 1px 1px 3px 2px #4C704B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C704B; -webkit-box-shadow: 1px 1px 3px 2px #4C704B; box-shadow:1px 1px 3px 2px #4C704B;">
Div content here</div>
This text has color #4C704B on black background.
This text has color #4C704B on white background.
This text has black color on #4C704B background.
This text has white color on #4C704B background.