HEX: #4C4928
RGB: (76,73,40)
#4C4928 contains red, green and blue colors in about the same proportion. Web safe color of #4C4928 is #333333 (or #333).
#4C4928 color RGB value is (76,73,40).
RGB: (76,73,40) (30%,29%,16%)
R 76 of 255 = 30%
G 73 of 255 = 29%
B 40 of 255 = 16%
R + G + B ~ 25%. #4C4928 is quite dark color.
R + G + B =
76 + 73 + 40 = 189 (100%)
R 76 of 189 ~ 40.21%
G 73 of 189 ~ 38.62%
B 40 of 189 ~ 21.16%
#4C4928 color CMYK value is (0,4,47,70).
CMYK: (0,4,47,70) C0M4Y47K70 (0%,4%,47%,70%) (0.00/0.04/0.47/0.70)
4C | 49 | 28 | |
---|---|---|---|
RGB | 76 | 73 | 40 |
HSL | 55° | 31.03% | 22.75% |
HSB/HSV | 55° | 47.37% | 29.80% |
CMYK | 0.00% | 3.95% | 47.37% |
70.20% |
HEX | 4C | 49 | 28 |
Decimal | 76 | 73 | 40 |
Binary | 1001100 | 1001001 | 101000 |
Octal | 114 | 111 | 50 |
Examples of css and html codes for elements with #4C4928 color. Also use rgb(76,73,40) instead hex code.
.myTextColor { color: #4C4928; }
<p style="color:#4C4928">This sample text font color is #4C4928.</p>
This text font color is #4C4928.
.myBgColor { background-color: #4C4928; }
<div style="background-color:#4C4928">Inner text</div>
This div background color is #4C4928.
.myBorderColor { border: 1px solid #4C4928; }
<div style="border:3px solid #4C4928">Div</div>
This div border color is #4C4928.
.myOpacity80 { color: #4C4928; opacity: 0.8; }
<p style="color:#4C4928;opacity:0.8;">80%</p>
Text with #4C4928 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C4928;}
<p style="text-shadow: 3px 3px 1px #4C4928">Text here.</p>
This text has shadow with #4C4928 color.
.textShadow {text-shadow: 3px 3px 1px #4C4928, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C4928, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C4928 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C4928, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C4928, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C4928 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C4928; -webkit-box-shadow: 1px 1px 3px 2px #4C4928; box-shadow: 1px 1px 3px 2px #4C4928; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C4928; -webkit-box-shadow: 1px 1px 3px 2px #4C4928; box-shadow:1px 1px 3px 2px #4C4928;">
Div content here</div>
This text has color #4C4928 on black background.
This text has color #4C4928 on white background.
This text has black color on #4C4928 background.
This text has white color on #4C4928 background.