HEX: #476804
RGB: (71,104,4)
#476804 contains mainly red and green colors. Web safe color of #476804 is #336600 (or #360).
#476804 color RGB value is (71,104,4).
RGB: (71,104,4) (28%,41%,2%)
R 71 of 255 = 28%
G 104 of 255 = 41%
B 4 of 255 = 2%
R + G + B ~ 24%. #476804 is dark color.
R + G + B =
71 + 104 + 4 = 179 (100%)
R 71 of 179 ~ 39.66%
G 104 of 179 ~ 58.1%
B 4 of 179 ~ 2.23%
#476804 color CMYK value is (32,0,96,59).
CMYK: (32,0,96,59) C32M0Y96K59 (32%,0%,96%,59%) (0.32/0.00/0.96/0.59)
47 | 68 | 04 | |
---|---|---|---|
RGB | 71 | 104 | 4 |
HSL | 80° | 92.59% | 21.18% |
HSB/HSV | 80° | 96.15% | 40.78% |
CMYK | 31.73% | 0.00% | 96.15% |
59.22% |
HEX | 47 | 68 | 04 |
Decimal | 71 | 104 | 4 |
Binary | 1000111 | 1101000 | 100 |
Octal | 107 | 150 | 4 |
Examples of css and html codes for elements with #476804 color. Also use rgb(71,104,4) instead hex code.
.myTextColor { color: #476804; }
<p style="color:#476804">This sample text font color is #476804.</p>
This text font color is #476804.
.myBgColor { background-color: #476804; }
<div style="background-color:#476804">Inner text</div>
This div background color is #476804.
.myBorderColor { border: 1px solid #476804; }
<div style="border:3px solid #476804">Div</div>
This div border color is #476804.
.myOpacity80 { color: #476804; opacity: 0.8; }
<p style="color:#476804;opacity:0.8;">80%</p>
Text with #476804 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476804;}
<p style="text-shadow: 3px 3px 1px #476804">Text here.</p>
This text has shadow with #476804 color.
.textShadow {text-shadow: 3px 3px 1px #476804, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476804, 5px 5px 20px red">Text here.</p>
This text has shadow with #476804 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476804, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476804, Direction=45, Strength=4)">Text</p>
This text has shadow with #476804 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476804; -webkit-box-shadow: 1px 1px 3px 2px #476804; box-shadow: 1px 1px 3px 2px #476804; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476804; -webkit-box-shadow: 1px 1px 3px 2px #476804; box-shadow:1px 1px 3px 2px #476804;">
Div content here</div>
This text has color #476804 on black background.
This text has color #476804 on white background.
This text has black color on #476804 background.
This text has white color on #476804 background.