HEX: #4C724F
RGB: (76,114,79)
#4C724F contains red, green and blue colors in about the same proportion. Web safe color of #4C724F is #336666 (or #366).
#4C724F color RGB value is (76,114,79).
RGB: (76,114,79) (30%,45%,31%)
R 76 of 255 = 30%
G 114 of 255 = 45%
B 79 of 255 = 31%
R + G + B ~ 35%. #4C724F is quite dark color.
R + G + B =
76 + 114 + 79 = 269 (100%)
R 76 of 269 ~ 28.25%
G 114 of 269 ~ 42.38%
B 79 of 269 ~ 29.37%
#4C724F color CMYK value is (33,0,31,55).
CMYK: (33,0,31,55) C33M0Y31K55 (33%,0%,31%,55%) (0.33/0.00/0.31/0.55)
4C | 72 | 4F | |
---|---|---|---|
RGB | 76 | 114 | 79 |
HSL | 125° | 20.00% | 37.25% |
HSB/HSV | 125° | 33.33% | 44.71% |
CMYK | 33.33% | 0.00% | 30.70% |
55.29% |
HEX | 4C | 72 | 4F |
Decimal | 76 | 114 | 79 |
Binary | 1001100 | 1110010 | 1001111 |
Octal | 114 | 162 | 117 |
Examples of css and html codes for elements with #4C724F color. Also use rgb(76,114,79) instead hex code.
.myTextColor { color: #4C724F; }
<p style="color:#4C724F">This sample text font color is #4C724F.</p>
This text font color is #4C724F.
.myBgColor { background-color: #4C724F; }
<div style="background-color:#4C724F">Inner text</div>
This div background color is #4C724F.
.myBorderColor { border: 1px solid #4C724F; }
<div style="border:3px solid #4C724F">Div</div>
This div border color is #4C724F.
.myOpacity80 { color: #4C724F; opacity: 0.8; }
<p style="color:#4C724F;opacity:0.8;">80%</p>
Text with #4C724F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C724F;}
<p style="text-shadow: 3px 3px 1px #4C724F">Text here.</p>
This text has shadow with #4C724F color.
.textShadow {text-shadow: 3px 3px 1px #4C724F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C724F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C724F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C724F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C724F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C724F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C724F; -webkit-box-shadow: 1px 1px 3px 2px #4C724F; box-shadow: 1px 1px 3px 2px #4C724F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C724F; -webkit-box-shadow: 1px 1px 3px 2px #4C724F; box-shadow:1px 1px 3px 2px #4C724F;">
Div content here</div>
This text has color #4C724F on black background.
This text has color #4C724F on white background.
This text has black color on #4C724F background.
This text has white color on #4C724F background.