HEX: #4C512C
RGB: (76,81,44)
#4C512C contains red, green and blue colors in about the same proportion. Web safe color of #4C512C is #336633 (or #363).
#4C512C color RGB value is (76,81,44).
RGB: (76,81,44) (30%,32%,17%)
R 76 of 255 = 30%
G 81 of 255 = 32%
B 44 of 255 = 17%
R + G + B ~ 26%. #4C512C is quite dark color.
R + G + B =
76 + 81 + 44 = 201 (100%)
R 76 of 201 ~ 37.81%
G 81 of 201 ~ 40.3%
B 44 of 201 ~ 21.89%
#4C512C color CMYK value is (6,0,46,68).
CMYK: (6,0,46,68) C6M0Y46K68 (6%,0%,46%,68%) (0.06/0.00/0.46/0.68)
4C | 51 | 2C | |
---|---|---|---|
RGB | 76 | 81 | 44 |
HSL | 68° | 29.60% | 24.51% |
HSB/HSV | 68° | 45.68% | 31.76% |
CMYK | 6.17% | 0.00% | 45.68% |
68.24% |
HEX | 4C | 51 | 2C |
Decimal | 76 | 81 | 44 |
Binary | 1001100 | 1010001 | 101100 |
Octal | 114 | 121 | 54 |
Examples of css and html codes for elements with #4C512C color. Also use rgb(76,81,44) instead hex code.
.myTextColor { color: #4C512C; }
<p style="color:#4C512C">This sample text font color is #4C512C.</p>
This text font color is #4C512C.
.myBgColor { background-color: #4C512C; }
<div style="background-color:#4C512C">Inner text</div>
This div background color is #4C512C.
.myBorderColor { border: 1px solid #4C512C; }
<div style="border:3px solid #4C512C">Div</div>
This div border color is #4C512C.
.myOpacity80 { color: #4C512C; opacity: 0.8; }
<p style="color:#4C512C;opacity:0.8;">80%</p>
Text with #4C512C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C512C;}
<p style="text-shadow: 3px 3px 1px #4C512C">Text here.</p>
This text has shadow with #4C512C color.
.textShadow {text-shadow: 3px 3px 1px #4C512C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C512C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C512C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C512C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C512C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C512C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C512C; -webkit-box-shadow: 1px 1px 3px 2px #4C512C; box-shadow: 1px 1px 3px 2px #4C512C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C512C; -webkit-box-shadow: 1px 1px 3px 2px #4C512C; box-shadow:1px 1px 3px 2px #4C512C;">
Div content here</div>
This text has color #4C512C on black background.
This text has color #4C512C on white background.
This text has black color on #4C512C background.
This text has white color on #4C512C background.