HEX: #476B4E
RGB: (71,107,78)
#476B4E contains red, green and blue colors in about the same proportion. Web safe color of #476B4E is #336666 (or #366).
#476B4E color RGB value is (71,107,78).
RGB: (71,107,78) (28%,42%,31%)
R 71 of 255 = 28%
G 107 of 255 = 42%
B 78 of 255 = 31%
R + G + B ~ 34%. #476B4E is quite dark color.
R + G + B =
71 + 107 + 78 = 256 (100%)
R 71 of 256 ~ 27.73%
G 107 of 256 ~ 41.8%
B 78 of 256 ~ 30.47%
#476B4E color CMYK value is (34,0,27,58).
CMYK: (34,0,27,58) C34M0Y27K58 (34%,0%,27%,58%) (0.34/0.00/0.27/0.58)
47 | 6B | 4E | |
---|---|---|---|
RGB | 71 | 107 | 78 |
HSL | 132° | 20.22% | 34.90% |
HSB/HSV | 132° | 33.64% | 41.96% |
CMYK | 33.64% | 0.00% | 27.10% |
58.04% |
HEX | 47 | 6B | 4E |
Decimal | 71 | 107 | 78 |
Binary | 1000111 | 1101011 | 1001110 |
Octal | 107 | 153 | 116 |
Examples of css and html codes for elements with #476B4E color. Also use rgb(71,107,78) instead hex code.
.myTextColor { color: #476B4E; }
<p style="color:#476B4E">This sample text font color is #476B4E.</p>
This text font color is #476B4E.
.myBgColor { background-color: #476B4E; }
<div style="background-color:#476B4E">Inner text</div>
This div background color is #476B4E.
.myBorderColor { border: 1px solid #476B4E; }
<div style="border:3px solid #476B4E">Div</div>
This div border color is #476B4E.
.myOpacity80 { color: #476B4E; opacity: 0.8; }
<p style="color:#476B4E;opacity:0.8;">80%</p>
Text with #476B4E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476B4E;}
<p style="text-shadow: 3px 3px 1px #476B4E">Text here.</p>
This text has shadow with #476B4E color.
.textShadow {text-shadow: 3px 3px 1px #476B4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476B4E, 5px 5px 20px red">Text here.</p>
This text has shadow with #476B4E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476B4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476B4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #476B4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476B4E; -webkit-box-shadow: 1px 1px 3px 2px #476B4E; box-shadow: 1px 1px 3px 2px #476B4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476B4E; -webkit-box-shadow: 1px 1px 3px 2px #476B4E; box-shadow:1px 1px 3px 2px #476B4E;">
Div content here</div>
This text has color #476B4E on black background.
This text has color #476B4E on white background.
This text has black color on #476B4E background.
This text has white color on #476B4E background.