HEX: #489750
RGB: (72,151,80)
#489750 contains mainly green color. Web safe color of #489750 is #339966 (or #396).
#489750 color RGB value is (72,151,80).
RGB: (72,151,80) (28%,59%,31%)
R 72 of 255 = 28%
G 151 of 255 = 59%
B 80 of 255 = 31%
R + G + B ~ 39%. #489750 is quite dark color.
R + G + B =
72 + 151 + 80 = 303 (100%)
R 72 of 303 ~ 23.76%
G 151 of 303 ~ 49.83%
B 80 of 303 ~ 26.4%
#489750 color CMYK value is (52,0,47,41).
CMYK: (52,0,47,41) C52M0Y47K41 (52%,0%,47%,41%) (0.52/0.00/0.47/0.41)
48 | 97 | 50 | |
---|---|---|---|
RGB | 72 | 151 | 80 |
HSL | 126° | 35.43% | 43.73% |
HSB/HSV | 126° | 52.32% | 59.22% |
CMYK | 52.32% | 0.00% | 47.02% |
40.78% |
HEX | 48 | 97 | 50 |
Decimal | 72 | 151 | 80 |
Binary | 1001000 | 10010111 | 1010000 |
Octal | 110 | 227 | 120 |
Examples of css and html codes for elements with #489750 color. Also use rgb(72,151,80) instead hex code.
.myTextColor { color: #489750; }
<p style="color:#489750">This sample text font color is #489750.</p>
This text font color is #489750.
.myBgColor { background-color: #489750; }
<div style="background-color:#489750">Inner text</div>
This div background color is #489750.
.myBorderColor { border: 1px solid #489750; }
<div style="border:3px solid #489750">Div</div>
This div border color is #489750.
.myOpacity80 { color: #489750; opacity: 0.8; }
<p style="color:#489750;opacity:0.8;">80%</p>
Text with #489750 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489750;}
<p style="text-shadow: 3px 3px 1px #489750">Text here.</p>
This text has shadow with #489750 color.
.textShadow {text-shadow: 3px 3px 1px #489750, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489750, 5px 5px 20px red">Text here.</p>
This text has shadow with #489750 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489750, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489750, Direction=45, Strength=4)">Text</p>
This text has shadow with #489750 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489750; -webkit-box-shadow: 1px 1px 3px 2px #489750; box-shadow: 1px 1px 3px 2px #489750; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489750; -webkit-box-shadow: 1px 1px 3px 2px #489750; box-shadow:1px 1px 3px 2px #489750;">
Div content here</div>
This text has color #489750 on black background.
This text has color #489750 on white background.
This text has black color on #489750 background.
This text has white color on #489750 background.