HEX: #476521
RGB: (71,101,33)
#476521 contains mainly red and green colors. Web safe color of #476521 is #336633 (or #363).
#476521 color RGB value is (71,101,33).
RGB: (71,101,33) (28%,40%,13%)
R 71 of 255 = 28%
G 101 of 255 = 40%
B 33 of 255 = 13%
R + G + B ~ 27%. #476521 is quite dark color.
R + G + B =
71 + 101 + 33 = 205 (100%)
R 71 of 205 ~ 34.63%
G 101 of 205 ~ 49.27%
B 33 of 205 ~ 16.1%
#476521 color CMYK value is (30,0,67,60).
CMYK: (30,0,67,60) C30M0Y67K60 (30%,0%,67%,60%) (0.30/0.00/0.67/0.60)
47 | 65 | 21 | |
---|---|---|---|
RGB | 71 | 101 | 33 |
HSL | 86° | 50.75% | 26.27% |
HSB/HSV | 86° | 67.33% | 39.61% |
CMYK | 29.70% | 0.00% | 67.33% |
60.39% |
HEX | 47 | 65 | 21 |
Decimal | 71 | 101 | 33 |
Binary | 1000111 | 1100101 | 100001 |
Octal | 107 | 145 | 41 |
Examples of css and html codes for elements with #476521 color. Also use rgb(71,101,33) instead hex code.
.myTextColor { color: #476521; }
<p style="color:#476521">This sample text font color is #476521.</p>
This text font color is #476521.
.myBgColor { background-color: #476521; }
<div style="background-color:#476521">Inner text</div>
This div background color is #476521.
.myBorderColor { border: 1px solid #476521; }
<div style="border:3px solid #476521">Div</div>
This div border color is #476521.
.myOpacity80 { color: #476521; opacity: 0.8; }
<p style="color:#476521;opacity:0.8;">80%</p>
Text with #476521 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476521;}
<p style="text-shadow: 3px 3px 1px #476521">Text here.</p>
This text has shadow with #476521 color.
.textShadow {text-shadow: 3px 3px 1px #476521, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476521, 5px 5px 20px red">Text here.</p>
This text has shadow with #476521 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476521, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476521, Direction=45, Strength=4)">Text</p>
This text has shadow with #476521 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476521; -webkit-box-shadow: 1px 1px 3px 2px #476521; box-shadow: 1px 1px 3px 2px #476521; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476521; -webkit-box-shadow: 1px 1px 3px 2px #476521; box-shadow:1px 1px 3px 2px #476521;">
Div content here</div>
This text has color #476521 on black background.
This text has color #476521 on white background.
This text has black color on #476521 background.
This text has white color on #476521 background.