HEX: #4A952E
RGB: (74,149,46)
#4A952E contains mainly green color. Web safe color of #4A952E is #339933 (or #393).
#4A952E color RGB value is (74,149,46).
RGB: (74,149,46) (29%,58%,18%)
R 74 of 255 = 29%
G 149 of 255 = 58%
B 46 of 255 = 18%
R + G + B ~ 35%. #4A952E is quite dark color.
R + G + B =
74 + 149 + 46 = 269 (100%)
R 74 of 269 ~ 27.51%
G 149 of 269 ~ 55.39%
B 46 of 269 ~ 17.1%
#4A952E color CMYK value is (50,0,69,42).
CMYK: (50,0,69,42) C50M0Y69K42 (50%,0%,69%,42%) (0.50/0.00/0.69/0.42)
4A | 95 | 2E | |
---|---|---|---|
RGB | 74 | 149 | 46 |
HSL | 104° | 52.82% | 38.24% |
HSB/HSV | 104° | 69.13% | 58.43% |
CMYK | 50.34% | 0.00% | 69.13% |
41.57% |
HEX | 4A | 95 | 2E |
Decimal | 74 | 149 | 46 |
Binary | 1001010 | 10010101 | 101110 |
Octal | 112 | 225 | 56 |
Examples of css and html codes for elements with #4A952E color. Also use rgb(74,149,46) instead hex code.
.myTextColor { color: #4A952E; }
<p style="color:#4A952E">This sample text font color is #4A952E.</p>
This text font color is #4A952E.
.myBgColor { background-color: #4A952E; }
<div style="background-color:#4A952E">Inner text</div>
This div background color is #4A952E.
.myBorderColor { border: 1px solid #4A952E; }
<div style="border:3px solid #4A952E">Div</div>
This div border color is #4A952E.
.myOpacity80 { color: #4A952E; opacity: 0.8; }
<p style="color:#4A952E;opacity:0.8;">80%</p>
Text with #4A952E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A952E;}
<p style="text-shadow: 3px 3px 1px #4A952E">Text here.</p>
This text has shadow with #4A952E color.
.textShadow {text-shadow: 3px 3px 1px #4A952E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A952E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A952E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A952E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A952E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A952E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A952E; -webkit-box-shadow: 1px 1px 3px 2px #4A952E; box-shadow: 1px 1px 3px 2px #4A952E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A952E; -webkit-box-shadow: 1px 1px 3px 2px #4A952E; box-shadow:1px 1px 3px 2px #4A952E;">
Div content here</div>
This text has color #4A952E on black background.
This text has color #4A952E on white background.
This text has black color on #4A952E background.
This text has white color on #4A952E background.