HEX: #4C6D16
RGB: (76,109,22)
#4C6D16 contains mainly red and green colors. Web safe color of #4C6D16 is #336600 (or #360).
#4C6D16 color RGB value is (76,109,22).
RGB: (76,109,22) (30%,43%,9%)
R 76 of 255 = 30%
G 109 of 255 = 43%
B 22 of 255 = 9%
R + G + B ~ 27%. #4C6D16 is quite dark color.
R + G + B =
76 + 109 + 22 = 207 (100%)
R 76 of 207 ~ 36.71%
G 109 of 207 ~ 52.66%
B 22 of 207 ~ 10.63%
#4C6D16 color CMYK value is (30,0,80,57).
CMYK: (30,0,80,57) C30M0Y80K57 (30%,0%,80%,57%) (0.30/0.00/0.80/0.57)
4C | 6D | 16 | |
---|---|---|---|
RGB | 76 | 109 | 22 |
HSL | 83° | 66.41% | 25.69% |
HSB/HSV | 83° | 79.82% | 42.75% |
CMYK | 30.28% | 0.00% | 79.82% |
57.25% |
HEX | 4C | 6D | 16 |
Decimal | 76 | 109 | 22 |
Binary | 1001100 | 1101101 | 10110 |
Octal | 114 | 155 | 26 |
Examples of css and html codes for elements with #4C6D16 color. Also use rgb(76,109,22) instead hex code.
.myTextColor { color: #4C6D16; }
<p style="color:#4C6D16">This sample text font color is #4C6D16.</p>
This text font color is #4C6D16.
.myBgColor { background-color: #4C6D16; }
<div style="background-color:#4C6D16">Inner text</div>
This div background color is #4C6D16.
.myBorderColor { border: 1px solid #4C6D16; }
<div style="border:3px solid #4C6D16">Div</div>
This div border color is #4C6D16.
.myOpacity80 { color: #4C6D16; opacity: 0.8; }
<p style="color:#4C6D16;opacity:0.8;">80%</p>
Text with #4C6D16 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C6D16;}
<p style="text-shadow: 3px 3px 1px #4C6D16">Text here.</p>
This text has shadow with #4C6D16 color.
.textShadow {text-shadow: 3px 3px 1px #4C6D16, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C6D16, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C6D16 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C6D16, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C6D16, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C6D16 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C6D16; -webkit-box-shadow: 1px 1px 3px 2px #4C6D16; box-shadow: 1px 1px 3px 2px #4C6D16; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C6D16; -webkit-box-shadow: 1px 1px 3px 2px #4C6D16; box-shadow:1px 1px 3px 2px #4C6D16;">
Div content here</div>
This text has color #4C6D16 on black background.
This text has color #4C6D16 on white background.
This text has black color on #4C6D16 background.
This text has white color on #4C6D16 background.