HEX: #478870
RGB: (71,136,112)
#478870 contains mainly green and blue colors. Web safe color of #478870 is #339966 (or #396).
#478870 color RGB value is (71,136,112).
RGB: (71,136,112) (28%,53%,44%)
R 71 of 255 = 28%
G 136 of 255 = 53%
B 112 of 255 = 44%
R + G + B ~ 42%. #478870 is middle color (not dark and not light).
R + G + B =
71 + 136 + 112 = 319 (100%)
R 71 of 319 ~ 22.26%
G 136 of 319 ~ 42.63%
B 112 of 319 ~ 35.11%
#478870 color CMYK value is (48,0,18,47).
CMYK: (48,0,18,47) C48M0Y18K47 (48%,0%,18%,47%) (0.48/0.00/0.18/0.47)
47 | 88 | 70 | |
---|---|---|---|
RGB | 71 | 136 | 112 |
HSL | 158° | 31.40% | 40.59% |
HSB/HSV | 158° | 47.79% | 53.33% |
CMYK | 47.79% | 0.00% | 17.65% |
46.67% |
HEX | 47 | 88 | 70 |
Decimal | 71 | 136 | 112 |
Binary | 1000111 | 10001000 | 1110000 |
Octal | 107 | 210 | 160 |
Examples of css and html codes for elements with #478870 color. Also use rgb(71,136,112) instead hex code.
.myTextColor { color: #478870; }
<p style="color:#478870">This sample text font color is #478870.</p>
This text font color is #478870.
.myBgColor { background-color: #478870; }
<div style="background-color:#478870">Inner text</div>
This div background color is #478870.
.myBorderColor { border: 1px solid #478870; }
<div style="border:3px solid #478870">Div</div>
This div border color is #478870.
.myOpacity80 { color: #478870; opacity: 0.8; }
<p style="color:#478870;opacity:0.8;">80%</p>
Text with #478870 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478870;}
<p style="text-shadow: 3px 3px 1px #478870">Text here.</p>
This text has shadow with #478870 color.
.textShadow {text-shadow: 3px 3px 1px #478870, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478870, 5px 5px 20px red">Text here.</p>
This text has shadow with #478870 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478870, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478870, Direction=45, Strength=4)">Text</p>
This text has shadow with #478870 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478870; -webkit-box-shadow: 1px 1px 3px 2px #478870; box-shadow: 1px 1px 3px 2px #478870; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478870; -webkit-box-shadow: 1px 1px 3px 2px #478870; box-shadow:1px 1px 3px 2px #478870;">
Div content here</div>
This text has color #478870 on black background.
This text has color #478870 on white background.
This text has black color on #478870 background.
This text has white color on #478870 background.