HEX: #476502
RGB: (71,101,2)
#476502 contains mainly red and green colors. Web safe color of #476502 is #336600 (or #360).
#476502 color RGB value is (71,101,2).
RGB: (71,101,2) (28%,40%,1%)
R 71 of 255 = 28%
G 101 of 255 = 40%
B 2 of 255 = 1%
R + G + B ~ 23%. #476502 is dark color.
R + G + B =
71 + 101 + 2 = 174 (100%)
R 71 of 174 ~ 40.8%
G 101 of 174 ~ 58.05%
B 2 of 174 ~ 1.15%
#476502 color CMYK value is (30,0,98,60).
CMYK: (30,0,98,60) C30M0Y98K60 (30%,0%,98%,60%) (0.30/0.00/0.98/0.60)
47 | 65 | 02 | |
---|---|---|---|
RGB | 71 | 101 | 2 |
HSL | 78° | 96.12% | 20.20% |
HSB/HSV | 78° | 98.02% | 39.61% |
CMYK | 29.70% | 0.00% | 98.02% |
60.39% |
HEX | 47 | 65 | 02 |
Decimal | 71 | 101 | 2 |
Binary | 1000111 | 1100101 | 10 |
Octal | 107 | 145 | 2 |
Examples of css and html codes for elements with #476502 color. Also use rgb(71,101,2) instead hex code.
.myTextColor { color: #476502; }
<p style="color:#476502">This sample text font color is #476502.</p>
This text font color is #476502.
.myBgColor { background-color: #476502; }
<div style="background-color:#476502">Inner text</div>
This div background color is #476502.
.myBorderColor { border: 1px solid #476502; }
<div style="border:3px solid #476502">Div</div>
This div border color is #476502.
.myOpacity80 { color: #476502; opacity: 0.8; }
<p style="color:#476502;opacity:0.8;">80%</p>
Text with #476502 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476502;}
<p style="text-shadow: 3px 3px 1px #476502">Text here.</p>
This text has shadow with #476502 color.
.textShadow {text-shadow: 3px 3px 1px #476502, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476502, 5px 5px 20px red">Text here.</p>
This text has shadow with #476502 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476502, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476502, Direction=45, Strength=4)">Text</p>
This text has shadow with #476502 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476502; -webkit-box-shadow: 1px 1px 3px 2px #476502; box-shadow: 1px 1px 3px 2px #476502; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476502; -webkit-box-shadow: 1px 1px 3px 2px #476502; box-shadow:1px 1px 3px 2px #476502;">
Div content here</div>
This text has color #476502 on black background.
This text has color #476502 on white background.
This text has black color on #476502 background.
This text has white color on #476502 background.