HEX: #489935
RGB: (72,153,53)
#489935 contains mainly green color. Web safe color of #489935 is #339933 (or #393).
#489935 color RGB value is (72,153,53).
RGB: (72,153,53) (28%,60%,21%)
R 72 of 255 = 28%
G 153 of 255 = 60%
B 53 of 255 = 21%
R + G + B ~ 36%. #489935 is quite dark color.
R + G + B =
72 + 153 + 53 = 278 (100%)
R 72 of 278 ~ 25.9%
G 153 of 278 ~ 55.04%
B 53 of 278 ~ 19.06%
#489935 color CMYK value is (53,0,65,40).
CMYK: (53,0,65,40) C53M0Y65K40 (53%,0%,65%,40%) (0.53/0.00/0.65/0.40)
48 | 99 | 35 | |
---|---|---|---|
RGB | 72 | 153 | 53 |
HSL | 109° | 48.54% | 40.39% |
HSB/HSV | 109° | 65.36% | 60.00% |
CMYK | 52.94% | 0.00% | 65.36% |
40.00% |
HEX | 48 | 99 | 35 |
Decimal | 72 | 153 | 53 |
Binary | 1001000 | 10011001 | 110101 |
Octal | 110 | 231 | 65 |
Examples of css and html codes for elements with #489935 color. Also use rgb(72,153,53) instead hex code.
.myTextColor { color: #489935; }
<p style="color:#489935">This sample text font color is #489935.</p>
This text font color is #489935.
.myBgColor { background-color: #489935; }
<div style="background-color:#489935">Inner text</div>
This div background color is #489935.
.myBorderColor { border: 1px solid #489935; }
<div style="border:3px solid #489935">Div</div>
This div border color is #489935.
.myOpacity80 { color: #489935; opacity: 0.8; }
<p style="color:#489935;opacity:0.8;">80%</p>
Text with #489935 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489935;}
<p style="text-shadow: 3px 3px 1px #489935">Text here.</p>
This text has shadow with #489935 color.
.textShadow {text-shadow: 3px 3px 1px #489935, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489935, 5px 5px 20px red">Text here.</p>
This text has shadow with #489935 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489935, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489935, Direction=45, Strength=4)">Text</p>
This text has shadow with #489935 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489935; -webkit-box-shadow: 1px 1px 3px 2px #489935; box-shadow: 1px 1px 3px 2px #489935; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489935; -webkit-box-shadow: 1px 1px 3px 2px #489935; box-shadow:1px 1px 3px 2px #489935;">
Div content here</div>
This text has color #489935 on black background.
This text has color #489935 on white background.
This text has black color on #489935 background.
This text has white color on #489935 background.