HEX: #476821
RGB: (71,104,33)
#476821 contains mainly red and green colors. Web safe color of #476821 is #336633 (or #363).
#476821 color RGB value is (71,104,33).
RGB: (71,104,33)
(28%, 41%, 13%)
R 71 of 255 = 28%
G 104 of 255 = 41%
B 33 of 255 = 13%
R + G + B ~ 27%. #476821 is quite dark color.
R + G + B = 71 + 104 + 33 = 208 (100%)
R 71 of 208 ~ 34.13%
G 104 of 208 ~ 50%
B 33 of 208 ~ 15.87'%
#476821 color CMYK value is (32,0,68,59).
CMYK: (32,0,68,59)
C32M0Y68K59 (32%, 0%, 68%, 59%)
(0.32 / 0.00 / 0.68 / 0.59)
Color #476821 in popluar color models
47 | 68 | 21 | |
---|---|---|---|
RGB | 71 | 104 | 33 |
HSL | 88° | 51.82% | 26.86% |
HSB/HSV | 88° | 68.27% | 40.78% |
CMYK | 31.73% | 0.00% | 68.27% |
59.22% |
Color #476821 in popluar number systems.
HEX | 47 | 68 | 21 |
Decimal | 71 | 104 | 33 |
Binary | 1000111 | 1101000 | 100001 |
Octal | 107 | 150 | 41 |
Shades of #476821
Tints of #476821
Examples of css and html codes for elements with #476821 color. Also use rgb(71,104,33) instead hex code.
.myTextColor { color: #476821; }
<p style="color:#476821">This sample text font color is #476821.</p>
This text font color is #476821.
.myBgColor { background-color: #476821; }
<div style="background-color:#476821">Inner text</div>
This div background color is #476821.
.myBorderColor { border: 1px solid #476821; }
<div style="border:3px solid #476821">Div</div>
This div border color is #476821.
.myOpacity80 { color: #476821; opacity: 0.8; }
<p style="color:#476821;opacity:0.8;">80%</p>
Text with #476821 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476821;}
<p style="text-shadow: 3px 3px 1px #476821">Text here.</p>
This text has shadow with #476821 color.
.textShadow {text-shadow: 3px 3px 1px #476821', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476821, 5px 5px 20px red">Text here.</p>
This text has shadow with #476821 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476821, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476821, Direction=45, Strength=4)">Text</p>
This text has shadow with #476821 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #476821;
-webkit-box-shadow: 1px 1px 3px 2px #476821;
box-shadow: 1px 1px 3px 2px #476821;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #476821; -webkit-box-shadow: 1px 1px 3px 2px #476821; box-shadow:1px 1px 3px 2px #476821;">
Div content here
</div>
This text has color #476821 on black background.
This text has color #476821 on white background.
This text has black color on #476821 background.
This text has white color on #476821 background.
Complementary color for #hex is #B897DE.