HEX: #489254
RGB: (72,146,84)
#489254 contains mainly green color. Web safe color of #489254 is #339966 (or #396).
#489254 color RGB value is (72,146,84).
RGB: (72,146,84) (28%,57%,33%)
R 72 of 255 = 28%
G 146 of 255 = 57%
B 84 of 255 = 33%
R + G + B ~ 39%. #489254 is quite dark color.
R + G + B =
72 + 146 + 84 = 302 (100%)
R 72 of 302 ~ 23.84%
G 146 of 302 ~ 48.34%
B 84 of 302 ~ 27.81%
#489254 color CMYK value is (51,0,42,43).
CMYK: (51,0,42,43) C51M0Y42K43 (51%,0%,42%,43%) (0.51/0.00/0.42/0.43)
48 | 92 | 54 | |
---|---|---|---|
RGB | 72 | 146 | 84 |
HSL | 130° | 33.94% | 42.75% |
HSB/HSV | 130° | 50.68% | 57.25% |
CMYK | 50.68% | 0.00% | 42.47% |
42.75% |
HEX | 48 | 92 | 54 |
Decimal | 72 | 146 | 84 |
Binary | 1001000 | 10010010 | 1010100 |
Octal | 110 | 222 | 124 |
Examples of css and html codes for elements with #489254 color. Also use rgb(72,146,84) instead hex code.
.myTextColor { color: #489254; }
<p style="color:#489254">This sample text font color is #489254.</p>
This text font color is #489254.
.myBgColor { background-color: #489254; }
<div style="background-color:#489254">Inner text</div>
This div background color is #489254.
.myBorderColor { border: 1px solid #489254; }
<div style="border:3px solid #489254">Div</div>
This div border color is #489254.
.myOpacity80 { color: #489254; opacity: 0.8; }
<p style="color:#489254;opacity:0.8;">80%</p>
Text with #489254 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489254;}
<p style="text-shadow: 3px 3px 1px #489254">Text here.</p>
This text has shadow with #489254 color.
.textShadow {text-shadow: 3px 3px 1px #489254, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489254, 5px 5px 20px red">Text here.</p>
This text has shadow with #489254 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489254, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489254, Direction=45, Strength=4)">Text</p>
This text has shadow with #489254 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489254; -webkit-box-shadow: 1px 1px 3px 2px #489254; box-shadow: 1px 1px 3px 2px #489254; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489254; -webkit-box-shadow: 1px 1px 3px 2px #489254; box-shadow:1px 1px 3px 2px #489254;">
Div content here</div>
This text has color #489254 on black background.
This text has color #489254 on white background.
This text has black color on #489254 background.
This text has white color on #489254 background.