HEX: #477842
RGB: (71,120,66)
#477842 contains red, green and blue colors in about the same proportion. Web safe color of #477842 is #336633 (or #363).
#477842 color RGB value is (71,120,66).
RGB: (71,120,66) (28%,47%,26%)
R 71 of 255 = 28%
G 120 of 255 = 47%
B 66 of 255 = 26%
R + G + B ~ 34%. #477842 is quite dark color.
R + G + B =
71 + 120 + 66 = 257 (100%)
R 71 of 257 ~ 27.63%
G 120 of 257 ~ 46.69%
B 66 of 257 ~ 25.68%
#477842 color CMYK value is (41,0,45,53).
CMYK: (41,0,45,53) C41M0Y45K53 (41%,0%,45%,53%) (0.41/0.00/0.45/0.53)
47 | 78 | 42 | |
---|---|---|---|
RGB | 71 | 120 | 66 |
HSL | 114° | 29.03% | 36.47% |
HSB/HSV | 114° | 45.00% | 47.06% |
CMYK | 40.83% | 0.00% | 45.00% |
52.94% |
HEX | 47 | 78 | 42 |
Decimal | 71 | 120 | 66 |
Binary | 1000111 | 1111000 | 1000010 |
Octal | 107 | 170 | 102 |
Examples of css and html codes for elements with #477842 color. Also use rgb(71,120,66) instead hex code.
.myTextColor { color: #477842; }
<p style="color:#477842">This sample text font color is #477842.</p>
This text font color is #477842.
.myBgColor { background-color: #477842; }
<div style="background-color:#477842">Inner text</div>
This div background color is #477842.
.myBorderColor { border: 1px solid #477842; }
<div style="border:3px solid #477842">Div</div>
This div border color is #477842.
.myOpacity80 { color: #477842; opacity: 0.8; }
<p style="color:#477842;opacity:0.8;">80%</p>
Text with #477842 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #477842;}
<p style="text-shadow: 3px 3px 1px #477842">Text here.</p>
This text has shadow with #477842 color.
.textShadow {text-shadow: 3px 3px 1px #477842, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #477842, 5px 5px 20px red">Text here.</p>
This text has shadow with #477842 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#477842, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#477842, Direction=45, Strength=4)">Text</p>
This text has shadow with #477842 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #477842; -webkit-box-shadow: 1px 1px 3px 2px #477842; box-shadow: 1px 1px 3px 2px #477842; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #477842; -webkit-box-shadow: 1px 1px 3px 2px #477842; box-shadow:1px 1px 3px 2px #477842;">
Div content here</div>
This text has color #477842 on black background.
This text has color #477842 on white background.
This text has black color on #477842 background.
This text has white color on #477842 background.