HEX: #4C790B
RGB: (76,121,11)
#4C790B contains mainly red and green colors. Web safe color of #4C790B is #336600 (or #360).
#4C790B color RGB value is (76,121,11).
RGB: (76,121,11) (30%,47%,4%)
R 76 of 255 = 30%
G 121 of 255 = 47%
B 11 of 255 = 4%
R + G + B ~ 27%. #4C790B is quite dark color.
R + G + B =
76 + 121 + 11 = 208 (100%)
R 76 of 208 ~ 36.54%
G 121 of 208 ~ 58.17%
B 11 of 208 ~ 5.29%
#4C790B color CMYK value is (37,0,91,53).
CMYK: (37,0,91,53) C37M0Y91K53 (37%,0%,91%,53%) (0.37/0.00/0.91/0.53)
4C | 79 | 0B | |
---|---|---|---|
RGB | 76 | 121 | 11 |
HSL | 85° | 83.33% | 25.88% |
HSB/HSV | 85° | 90.91% | 47.45% |
CMYK | 37.19% | 0.00% | 90.91% |
52.55% |
HEX | 4C | 79 | 0B |
Decimal | 76 | 121 | 11 |
Binary | 1001100 | 1111001 | 1011 |
Octal | 114 | 171 | 13 |
Examples of css and html codes for elements with #4C790B color. Also use rgb(76,121,11) instead hex code.
.myTextColor { color: #4C790B; }
<p style="color:#4C790B">This sample text font color is #4C790B.</p>
This text font color is #4C790B.
.myBgColor { background-color: #4C790B; }
<div style="background-color:#4C790B">Inner text</div>
This div background color is #4C790B.
.myBorderColor { border: 1px solid #4C790B; }
<div style="border:3px solid #4C790B">Div</div>
This div border color is #4C790B.
.myOpacity80 { color: #4C790B; opacity: 0.8; }
<p style="color:#4C790B;opacity:0.8;">80%</p>
Text with #4C790B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4C790B;}
<p style="text-shadow: 3px 3px 1px #4C790B">Text here.</p>
This text has shadow with #4C790B color.
.textShadow {text-shadow: 3px 3px 1px #4C790B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4C790B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4C790B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4C790B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4C790B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4C790B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4C790B; -webkit-box-shadow: 1px 1px 3px 2px #4C790B; box-shadow: 1px 1px 3px 2px #4C790B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4C790B; -webkit-box-shadow: 1px 1px 3px 2px #4C790B; box-shadow:1px 1px 3px 2px #4C790B;">
Div content here</div>
This text has color #4C790B on black background.
This text has color #4C790B on white background.
This text has black color on #4C790B background.
This text has white color on #4C790B background.