HEX: #4C6824
RGB: (76,104,36)
#4C6824 contains mainly red and green colors. Web safe color of #4C6824 is #336633 (or #363).
#4C6824 color RGB value is (76,104,36).
RGB: (76,104,36) (30%,41%,14%)
R 76 of 255 = 30%
G 104 of 255 = 41%
B 36 of 255 = 14%
R + G + B ~ 28%. #4C6824 is quite dark color.
R + G + B =
76 + 104 + 36 = 216 (100%)
R 76 of 216 ~ 35.19%
G 104 of 216 ~ 48.15%
B 36 of 216 ~ 16.67%
#4C6824 color CMYK value is (27,0,65,59).
CMYK: (27,0,65,59) C27M0Y65K59 (27%,0%,65%,59%) (0.27/0.00/0.65/0.59)
4C | 68 | 24 | |
---|---|---|---|
RGB | 76 | 104 | 36 |
HSL | 85° | 48.57% | 27.45% |
HSB/HSV | 85° | 65.38% | 40.78% |
CMYK | 26.92% | 0.00% | 65.38% |
59.22% |
HEX | 4C | 68 | 24 |
Decimal | 76 | 104 | 36 |
Binary | 1001100 | 1101000 | 100100 |
Octal | 114 | 150 | 44 |
Examples of css and html codes for elements with #4C6824 color. Also use rgb(76,104,36) instead hex code.
.myTextColor { color: #4C6824; }
<p style="color:#4C6824">This sample text font color is #4C6824.</p>
This text font color is #4C6824.
.myBgColor { background-color: #4C6824; }
<div style="background-color:#4C6824">Inner text</div>
This div background color is #4C6824.
.myBorderColor { border: 1px solid #4C6824; }
<div style="border:3px solid #4C6824">Div</div>
This div border color is #4C6824.
.myOpacity80 { color: #4C6824; opacity: 0.8; }
<p style="color:#4C6824;opacity:0.8;">80%</p>
Text with #4C6824 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C6824;}
<p style="text-shadow: 3px 3px 1px #4C6824">Text here.</p>
This text has shadow with #4C6824 color.
.textShadow {text-shadow: 3px 3px 1px #4C6824, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C6824, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C6824 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C6824, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C6824, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C6824 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C6824; -webkit-box-shadow: 1px 1px 3px 2px #4C6824; box-shadow: 1px 1px 3px 2px #4C6824; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C6824; -webkit-box-shadow: 1px 1px 3px 2px #4C6824; box-shadow:1px 1px 3px 2px #4C6824;">
Div content here</div>
This text has color #4C6824 on black background.
This text has color #4C6824 on white background.
This text has black color on #4C6824 background.
This text has white color on #4C6824 background.