HEX: #489E4E
RGB: (72,158,78)
#489E4E contains mainly green color. Web safe color of #489E4E is #339966 (or #396).
#489E4E color RGB value is (72,158,78).
RGB: (72,158,78) (28%,62%,31%)
R 72 of 255 = 28%
G 158 of 255 = 62%
B 78 of 255 = 31%
R + G + B ~ 40%. #489E4E is middle color (not dark and not light).
R + G + B =
72 + 158 + 78 = 308 (100%)
R 72 of 308 ~ 23.38%
G 158 of 308 ~ 51.3%
B 78 of 308 ~ 25.32%
#489E4E color CMYK value is (54,0,51,38).
CMYK: (54,0,51,38) C54M0Y51K38 (54%,0%,51%,38%) (0.54/0.00/0.51/0.38)
48 | 9E | 4E | |
---|---|---|---|
RGB | 72 | 158 | 78 |
HSL | 124° | 37.39% | 45.10% |
HSB/HSV | 124° | 54.43% | 61.96% |
CMYK | 54.43% | 0.00% | 50.63% |
38.04% |
HEX | 48 | 9E | 4E |
Decimal | 72 | 158 | 78 |
Binary | 1001000 | 10011110 | 1001110 |
Octal | 110 | 236 | 116 |
Examples of css and html codes for elements with #489E4E color. Also use rgb(72,158,78) instead hex code.
.myTextColor { color: #489E4E; }
<p style="color:#489E4E">This sample text font color is #489E4E.</p>
This text font color is #489E4E.
.myBgColor { background-color: #489E4E; }
<div style="background-color:#489E4E">Inner text</div>
This div background color is #489E4E.
.myBorderColor { border: 1px solid #489E4E; }
<div style="border:3px solid #489E4E">Div</div>
This div border color is #489E4E.
.myOpacity80 { color: #489E4E; opacity: 0.8; }
<p style="color:#489E4E;opacity:0.8;">80%</p>
Text with #489E4E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489E4E;}
<p style="text-shadow: 3px 3px 1px #489E4E">Text here.</p>
This text has shadow with #489E4E color.
.textShadow {text-shadow: 3px 3px 1px #489E4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489E4E, 5px 5px 20px red">Text here.</p>
This text has shadow with #489E4E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489E4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489E4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #489E4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489E4E; -webkit-box-shadow: 1px 1px 3px 2px #489E4E; box-shadow: 1px 1px 3px 2px #489E4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489E4E; -webkit-box-shadow: 1px 1px 3px 2px #489E4E; box-shadow:1px 1px 3px 2px #489E4E;">
Div content here</div>
This text has color #489E4E on black background.
This text has color #489E4E on white background.
This text has black color on #489E4E background.
This text has white color on #489E4E background.