HEX: #4A9249
RGB: (74,146,73)
#4A9249 contains mainly green color. Web safe color of #4A9249 is #339933 (or #393).
#4A9249 color RGB value is (74,146,73).
RGB: (74,146,73) (29%,57%,29%)
R 74 of 255 = 29%
G 146 of 255 = 57%
B 73 of 255 = 29%
R + G + B ~ 38%. #4A9249 is quite dark color.
R + G + B =
74 + 146 + 73 = 293 (100%)
R 74 of 293 ~ 25.26%
G 146 of 293 ~ 49.83%
B 73 of 293 ~ 24.91%
#4A9249 color CMYK value is (49,0,50,43).
CMYK: (49,0,50,43) C49M0Y50K43 (49%,0%,50%,43%) (0.49/0.00/0.50/0.43)
4A | 92 | 49 | |
---|---|---|---|
RGB | 74 | 146 | 73 |
HSL | 119° | 33.33% | 42.94% |
HSB/HSV | 119° | 50.00% | 57.25% |
CMYK | 49.32% | 0.00% | 50.00% |
42.75% |
HEX | 4A | 92 | 49 |
Decimal | 74 | 146 | 73 |
Binary | 1001010 | 10010010 | 1001001 |
Octal | 112 | 222 | 111 |
Examples of css and html codes for elements with #4A9249 color. Also use rgb(74,146,73) instead hex code.
.myTextColor { color: #4A9249; }
<p style="color:#4A9249">This sample text font color is #4A9249.</p>
This text font color is #4A9249.
.myBgColor { background-color: #4A9249; }
<div style="background-color:#4A9249">Inner text</div>
This div background color is #4A9249.
.myBorderColor { border: 1px solid #4A9249; }
<div style="border:3px solid #4A9249">Div</div>
This div border color is #4A9249.
.myOpacity80 { color: #4A9249; opacity: 0.8; }
<p style="color:#4A9249;opacity:0.8;">80%</p>
Text with #4A9249 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A9249;}
<p style="text-shadow: 3px 3px 1px #4A9249">Text here.</p>
This text has shadow with #4A9249 color.
.textShadow {text-shadow: 3px 3px 1px #4A9249, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A9249, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A9249 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A9249, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A9249, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A9249 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A9249; -webkit-box-shadow: 1px 1px 3px 2px #4A9249; box-shadow: 1px 1px 3px 2px #4A9249; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A9249; -webkit-box-shadow: 1px 1px 3px 2px #4A9249; box-shadow:1px 1px 3px 2px #4A9249;">
Div content here</div>
This text has color #4A9249 on black background.
This text has color #4A9249 on white background.
This text has black color on #4A9249 background.
This text has white color on #4A9249 background.