HEX: #489561
RGB: (72,149,97)
#489561 contains mainly green and blue colors. Web safe color of #489561 is #339966 (or #396).
#489561 color RGB value is (72,149,97).
RGB: (72,149,97) (28%,58%,38%)
R 72 of 255 = 28%
G 149 of 255 = 58%
B 97 of 255 = 38%
R + G + B ~ 41%. #489561 is middle color (not dark and not light).
R + G + B =
72 + 149 + 97 = 318 (100%)
R 72 of 318 ~ 22.64%
G 149 of 318 ~ 46.86%
B 97 of 318 ~ 30.5%
#489561 color CMYK value is (52,0,35,42).
CMYK: (52,0,35,42) C52M0Y35K42 (52%,0%,35%,42%) (0.52/0.00/0.35/0.42)
48 | 95 | 61 | |
---|---|---|---|
RGB | 72 | 149 | 97 |
HSL | 139° | 34.84% | 43.33% |
HSB/HSV | 139° | 51.68% | 58.43% |
CMYK | 51.68% | 0.00% | 34.90% |
41.57% |
HEX | 48 | 95 | 61 |
Decimal | 72 | 149 | 97 |
Binary | 1001000 | 10010101 | 1100001 |
Octal | 110 | 225 | 141 |
Examples of css and html codes for elements with #489561 color. Also use rgb(72,149,97) instead hex code.
.myTextColor { color: #489561; }
<p style="color:#489561">This sample text font color is #489561.</p>
This text font color is #489561.
.myBgColor { background-color: #489561; }
<div style="background-color:#489561">Inner text</div>
This div background color is #489561.
.myBorderColor { border: 1px solid #489561; }
<div style="border:3px solid #489561">Div</div>
This div border color is #489561.
.myOpacity80 { color: #489561; opacity: 0.8; }
<p style="color:#489561;opacity:0.8;">80%</p>
Text with #489561 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489561;}
<p style="text-shadow: 3px 3px 1px #489561">Text here.</p>
This text has shadow with #489561 color.
.textShadow {text-shadow: 3px 3px 1px #489561, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489561, 5px 5px 20px red">Text here.</p>
This text has shadow with #489561 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489561, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489561, Direction=45, Strength=4)">Text</p>
This text has shadow with #489561 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489561; -webkit-box-shadow: 1px 1px 3px 2px #489561; box-shadow: 1px 1px 3px 2px #489561; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489561; -webkit-box-shadow: 1px 1px 3px 2px #489561; box-shadow:1px 1px 3px 2px #489561;">
Div content here</div>
This text has color #489561 on black background.
This text has color #489561 on white background.
This text has black color on #489561 background.
This text has white color on #489561 background.