HEX: #4C7247
RGB: (76,114,71)
#4C7247 contains red, green and blue colors in about the same proportion. Web safe color of #4C7247 is #336633 (or #363).
#4C7247 color RGB value is (76,114,71).
RGB: (76,114,71) (30%,45%,28%)
R 76 of 255 = 30%
G 114 of 255 = 45%
B 71 of 255 = 28%
R + G + B ~ 34%. #4C7247 is quite dark color.
R + G + B =
76 + 114 + 71 = 261 (100%)
R 76 of 261 ~ 29.12%
G 114 of 261 ~ 43.68%
B 71 of 261 ~ 27.2%
#4C7247 color CMYK value is (33,0,38,55).
CMYK: (33,0,38,55) C33M0Y38K55 (33%,0%,38%,55%) (0.33/0.00/0.38/0.55)
4C | 72 | 47 | |
---|---|---|---|
RGB | 76 | 114 | 71 |
HSL | 113° | 23.24% | 36.27% |
HSB/HSV | 113° | 37.72% | 44.71% |
CMYK | 33.33% | 0.00% | 37.72% |
55.29% |
HEX | 4C | 72 | 47 |
Decimal | 76 | 114 | 71 |
Binary | 1001100 | 1110010 | 1000111 |
Octal | 114 | 162 | 107 |
Examples of css and html codes for elements with #4C7247 color. Also use rgb(76,114,71) instead hex code.
.myTextColor { color: #4C7247; }
<p style="color:#4C7247">This sample text font color is #4C7247.</p>
This text font color is #4C7247.
.myBgColor { background-color: #4C7247; }
<div style="background-color:#4C7247">Inner text</div>
This div background color is #4C7247.
.myBorderColor { border: 1px solid #4C7247; }
<div style="border:3px solid #4C7247">Div</div>
This div border color is #4C7247.
.myOpacity80 { color: #4C7247; opacity: 0.8; }
<p style="color:#4C7247;opacity:0.8;">80%</p>
Text with #4C7247 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C7247;}
<p style="text-shadow: 3px 3px 1px #4C7247">Text here.</p>
This text has shadow with #4C7247 color.
.textShadow {text-shadow: 3px 3px 1px #4C7247, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C7247, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C7247 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C7247, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C7247, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C7247 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C7247; -webkit-box-shadow: 1px 1px 3px 2px #4C7247; box-shadow: 1px 1px 3px 2px #4C7247; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C7247; -webkit-box-shadow: 1px 1px 3px 2px #4C7247; box-shadow:1px 1px 3px 2px #4C7247;">
Div content here</div>
This text has color #4C7247 on black background.
This text has color #4C7247 on white background.
This text has black color on #4C7247 background.
This text has white color on #4C7247 background.