HEX: #489478
RGB: (72,148,120)
#489478 contains mainly green and blue colors. Web safe color of #489478 is #339966 (or #396).
#489478 color RGB value is (72,148,120).
RGB: (72,148,120) (28%,58%,47%)
R 72 of 255 = 28%
G 148 of 255 = 58%
B 120 of 255 = 47%
R + G + B ~ 44%. #489478 is middle color (not dark and not light).
R + G + B =
72 + 148 + 120 = 340 (100%)
R 72 of 340 ~ 21.18%
G 148 of 340 ~ 43.53%
B 120 of 340 ~ 35.29%
#489478 color CMYK value is (51,0,19,42).
CMYK: (51,0,19,42) C51M0Y19K42 (51%,0%,19%,42%) (0.51/0.00/0.19/0.42)
48 | 94 | 78 | |
---|---|---|---|
RGB | 72 | 148 | 120 |
HSL | 158° | 34.55% | 43.14% |
HSB/HSV | 158° | 51.35% | 58.04% |
CMYK | 51.35% | 0.00% | 18.92% |
41.96% |
HEX | 48 | 94 | 78 |
Decimal | 72 | 148 | 120 |
Binary | 1001000 | 10010100 | 1111000 |
Octal | 110 | 224 | 170 |
Examples of css and html codes for elements with #489478 color. Also use rgb(72,148,120) instead hex code.
.myTextColor { color: #489478; }
<p style="color:#489478">This sample text font color is #489478.</p>
This text font color is #489478.
.myBgColor { background-color: #489478; }
<div style="background-color:#489478">Inner text</div>
This div background color is #489478.
.myBorderColor { border: 1px solid #489478; }
<div style="border:3px solid #489478">Div</div>
This div border color is #489478.
.myOpacity80 { color: #489478; opacity: 0.8; }
<p style="color:#489478;opacity:0.8;">80%</p>
Text with #489478 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #489478;}
<p style="text-shadow: 3px 3px 1px #489478">Text here.</p>
This text has shadow with #489478 color.
.textShadow {text-shadow: 3px 3px 1px #489478, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #489478, 5px 5px 20px red">Text here.</p>
This text has shadow with #489478 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#489478, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#489478, Direction=45, Strength=4)">Text</p>
This text has shadow with #489478 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #489478; -webkit-box-shadow: 1px 1px 3px 2px #489478; box-shadow: 1px 1px 3px 2px #489478; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #489478; -webkit-box-shadow: 1px 1px 3px 2px #489478; box-shadow:1px 1px 3px 2px #489478;">
Div content here</div>
This text has color #489478 on black background.
This text has color #489478 on white background.
This text has black color on #489478 background.
This text has white color on #489478 background.