HEX: #489145
RGB: (72,145,69)
#489145 contains mainly green color. Web safe color of #489145 is #339933 (or #393).
#489145 color RGB value is (72,145,69).
RGB: (72,145,69) (28%,57%,27%)
R 72 of 255 = 28%
G 145 of 255 = 57%
B 69 of 255 = 27%
R + G + B ~ 37%. #489145 is quite dark color.
R + G + B =
72 + 145 + 69 = 286 (100%)
R 72 of 286 ~ 25.17%
G 145 of 286 ~ 50.7%
B 69 of 286 ~ 24.13%
#489145 color CMYK value is (50,0,52,43).
CMYK: (50,0,52,43) C50M0Y52K43 (50%,0%,52%,43%) (0.50/0.00/0.52/0.43)
48 | 91 | 45 | |
---|---|---|---|
RGB | 72 | 145 | 69 |
HSL | 118° | 35.51% | 41.96% |
HSB/HSV | 118° | 52.41% | 56.86% |
CMYK | 50.34% | 0.00% | 52.41% |
43.14% |
HEX | 48 | 91 | 45 |
Decimal | 72 | 145 | 69 |
Binary | 1001000 | 10010001 | 1000101 |
Octal | 110 | 221 | 105 |
Examples of css and html codes for elements with #489145 color. Also use rgb(72,145,69) instead hex code.
.myTextColor { color: #489145; }
<p style="color:#489145">This sample text font color is #489145.</p>
This text font color is #489145.
.myBgColor { background-color: #489145; }
<div style="background-color:#489145">Inner text</div>
This div background color is #489145.
.myBorderColor { border: 1px solid #489145; }
<div style="border:3px solid #489145">Div</div>
This div border color is #489145.
.myOpacity80 { color: #489145; opacity: 0.8; }
<p style="color:#489145;opacity:0.8;">80%</p>
Text with #489145 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489145;}
<p style="text-shadow: 3px 3px 1px #489145">Text here.</p>
This text has shadow with #489145 color.
.textShadow {text-shadow: 3px 3px 1px #489145, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489145, 5px 5px 20px red">Text here.</p>
This text has shadow with #489145 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489145, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489145, Direction=45, Strength=4)">Text</p>
This text has shadow with #489145 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489145; -webkit-box-shadow: 1px 1px 3px 2px #489145; box-shadow: 1px 1px 3px 2px #489145; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489145; -webkit-box-shadow: 1px 1px 3px 2px #489145; box-shadow:1px 1px 3px 2px #489145;">
Div content here</div>
This text has color #489145 on black background.
This text has color #489145 on white background.
This text has black color on #489145 background.
This text has white color on #489145 background.