HEX: #4A762E
RGB: (74,118,46)
#4A762E contains mainly red and green colors. Web safe color of #4A762E is #336633 (or #363).
#4A762E color RGB value is (74,118,46).
RGB: (74,118,46) (29%,46%,18%)
R 74 of 255 = 29%
G 118 of 255 = 46%
B 46 of 255 = 18%
R + G + B ~ 31%. #4A762E is quite dark color.
R + G + B =
74 + 118 + 46 = 238 (100%)
R 74 of 238 ~ 31.09%
G 118 of 238 ~ 49.58%
B 46 of 238 ~ 19.33%
#4A762E color CMYK value is (37,0,61,54).
CMYK: (37,0,61,54) C37M0Y61K54 (37%,0%,61%,54%) (0.37/0.00/0.61/0.54)
4A | 76 | 2E | |
---|---|---|---|
RGB | 74 | 118 | 46 |
HSL | 97° | 43.90% | 32.16% |
HSB/HSV | 97° | 61.02% | 46.27% |
CMYK | 37.29% | 0.00% | 61.02% |
53.73% |
HEX | 4A | 76 | 2E |
Decimal | 74 | 118 | 46 |
Binary | 1001010 | 1110110 | 101110 |
Octal | 112 | 166 | 56 |
Examples of css and html codes for elements with #4A762E color. Also use rgb(74,118,46) instead hex code.
.myTextColor { color: #4A762E; }
<p style="color:#4A762E">This sample text font color is #4A762E.</p>
This text font color is #4A762E.
.myBgColor { background-color: #4A762E; }
<div style="background-color:#4A762E">Inner text</div>
This div background color is #4A762E.
.myBorderColor { border: 1px solid #4A762E; }
<div style="border:3px solid #4A762E">Div</div>
This div border color is #4A762E.
.myOpacity80 { color: #4A762E; opacity: 0.8; }
<p style="color:#4A762E;opacity:0.8;">80%</p>
Text with #4A762E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A762E;}
<p style="text-shadow: 3px 3px 1px #4A762E">Text here.</p>
This text has shadow with #4A762E color.
.textShadow {text-shadow: 3px 3px 1px #4A762E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A762E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A762E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A762E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A762E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A762E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A762E; -webkit-box-shadow: 1px 1px 3px 2px #4A762E; box-shadow: 1px 1px 3px 2px #4A762E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A762E; -webkit-box-shadow: 1px 1px 3px 2px #4A762E; box-shadow:1px 1px 3px 2px #4A762E;">
Div content here</div>
This text has color #4A762E on black background.
This text has color #4A762E on white background.
This text has black color on #4A762E background.
This text has white color on #4A762E background.