HEX: #475731
RGB: (71,87,49)
#475731 contains red, green and blue colors in about the same proportion. Web safe color of #475731 is #336633 (or #363).
#475731 color RGB value is (71,87,49).
RGB: (71,87,49) (28%,34%,19%)
R 71 of 255 = 28%
G 87 of 255 = 34%
B 49 of 255 = 19%
R + G + B ~ 27%. #475731 is quite dark color.
R + G + B =
71 + 87 + 49 = 207 (100%)
R 71 of 207 ~ 34.3%
G 87 of 207 ~ 42.03%
B 49 of 207 ~ 23.67%
#475731 color CMYK value is (18,0,44,66).
CMYK: (18,0,44,66) C18M0Y44K66 (18%,0%,44%,66%) (0.18/0.00/0.44/0.66)
47 | 57 | 31 | |
---|---|---|---|
RGB | 71 | 87 | 49 |
HSL | 85° | 27.94% | 26.67% |
HSB/HSV | 85° | 43.68% | 34.12% |
CMYK | 18.39% | 0.00% | 43.68% |
65.88% |
HEX | 47 | 57 | 31 |
Decimal | 71 | 87 | 49 |
Binary | 1000111 | 1010111 | 110001 |
Octal | 107 | 127 | 61 |
Examples of css and html codes for elements with #475731 color. Also use rgb(71,87,49) instead hex code.
.myTextColor { color: #475731; }
<p style="color:#475731">This sample text font color is #475731.</p>
This text font color is #475731.
.myBgColor { background-color: #475731; }
<div style="background-color:#475731">Inner text</div>
This div background color is #475731.
.myBorderColor { border: 1px solid #475731; }
<div style="border:3px solid #475731">Div</div>
This div border color is #475731.
.myOpacity80 { color: #475731; opacity: 0.8; }
<p style="color:#475731;opacity:0.8;">80%</p>
Text with #475731 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #475731;}
<p style="text-shadow: 3px 3px 1px #475731">Text here.</p>
This text has shadow with #475731 color.
.textShadow {text-shadow: 3px 3px 1px #475731, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #475731, 5px 5px 20px red">Text here.</p>
This text has shadow with #475731 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#475731, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#475731, Direction=45, Strength=4)">Text</p>
This text has shadow with #475731 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #475731; -webkit-box-shadow: 1px 1px 3px 2px #475731; box-shadow: 1px 1px 3px 2px #475731; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #475731; -webkit-box-shadow: 1px 1px 3px 2px #475731; box-shadow:1px 1px 3px 2px #475731;">
Div content here</div>
This text has color #475731 on black background.
This text has color #475731 on white background.
This text has black color on #475731 background.
This text has white color on #475731 background.