HEX: #4C7330
RGB: (76,115,48)
#4C7330 contains mainly red and green colors. Web safe color of #4C7330 is #336633 (or #363).
#4C7330 color RGB value is (76,115,48).
RGB: (76,115,48) (30%,45%,19%)
R 76 of 255 = 30%
G 115 of 255 = 45%
B 48 of 255 = 19%
R + G + B ~ 31%. #4C7330 is quite dark color.
R + G + B =
76 + 115 + 48 = 239 (100%)
R 76 of 239 ~ 31.8%
G 115 of 239 ~ 48.12%
B 48 of 239 ~ 20.08%
#4C7330 color CMYK value is (34,0,58,55).
CMYK: (34,0,58,55) C34M0Y58K55 (34%,0%,58%,55%) (0.34/0.00/0.58/0.55)
4C | 73 | 30 | |
---|---|---|---|
RGB | 76 | 115 | 48 |
HSL | 95° | 41.10% | 31.96% |
HSB/HSV | 95° | 58.26% | 45.10% |
CMYK | 33.91% | 0.00% | 58.26% |
54.90% |
HEX | 4C | 73 | 30 |
Decimal | 76 | 115 | 48 |
Binary | 1001100 | 1110011 | 110000 |
Octal | 114 | 163 | 60 |
Examples of css and html codes for elements with #4C7330 color. Also use rgb(76,115,48) instead hex code.
.myTextColor { color: #4C7330; }
<p style="color:#4C7330">This sample text font color is #4C7330.</p>
This text font color is #4C7330.
.myBgColor { background-color: #4C7330; }
<div style="background-color:#4C7330">Inner text</div>
This div background color is #4C7330.
.myBorderColor { border: 1px solid #4C7330; }
<div style="border:3px solid #4C7330">Div</div>
This div border color is #4C7330.
.myOpacity80 { color: #4C7330; opacity: 0.8; }
<p style="color:#4C7330;opacity:0.8;">80%</p>
Text with #4C7330 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C7330;}
<p style="text-shadow: 3px 3px 1px #4C7330">Text here.</p>
This text has shadow with #4C7330 color.
.textShadow {text-shadow: 3px 3px 1px #4C7330, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C7330, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C7330 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C7330, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C7330, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C7330 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C7330; -webkit-box-shadow: 1px 1px 3px 2px #4C7330; box-shadow: 1px 1px 3px 2px #4C7330; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C7330; -webkit-box-shadow: 1px 1px 3px 2px #4C7330; box-shadow:1px 1px 3px 2px #4C7330;">
Div content here</div>
This text has color #4C7330 on black background.
This text has color #4C7330 on white background.
This text has black color on #4C7330 background.
This text has white color on #4C7330 background.