HEX: #477802
RGB: (71,120,2)
#477802 contains mainly red and green colors. Web safe color of #477802 is #336600 (or #360).
#477802 color RGB value is (71,120,2).
RGB: (71,120,2) (28%,47%,1%)
R 71 of 255 = 28%
G 120 of 255 = 47%
B 2 of 255 = 1%
R + G + B ~ 25%. #477802 is quite dark color.
R + G + B =
71 + 120 + 2 = 193 (100%)
R 71 of 193 ~ 36.79%
G 120 of 193 ~ 62.18%
B 2 of 193 ~ 1.04%
#477802 color CMYK value is (41,0,98,53).
CMYK: (41,0,98,53) C41M0Y98K53 (41%,0%,98%,53%) (0.41/0.00/0.98/0.53)
47 | 78 | 02 | |
---|---|---|---|
RGB | 71 | 120 | 2 |
HSL | 85° | 96.72% | 23.92% |
HSB/HSV | 85° | 98.33% | 47.06% |
CMYK | 40.83% | 0.00% | 98.33% |
52.94% |
HEX | 47 | 78 | 02 |
Decimal | 71 | 120 | 2 |
Binary | 1000111 | 1111000 | 10 |
Octal | 107 | 170 | 2 |
Examples of css and html codes for elements with #477802 color. Also use rgb(71,120,2) instead hex code.
.myTextColor { color: #477802; }
<p style="color:#477802">This sample text font color is #477802.</p>
This text font color is #477802.
.myBgColor { background-color: #477802; }
<div style="background-color:#477802">Inner text</div>
This div background color is #477802.
.myBorderColor { border: 1px solid #477802; }
<div style="border:3px solid #477802">Div</div>
This div border color is #477802.
.myOpacity80 { color: #477802; opacity: 0.8; }
<p style="color:#477802;opacity:0.8;">80%</p>
Text with #477802 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #477802;}
<p style="text-shadow: 3px 3px 1px #477802">Text here.</p>
This text has shadow with #477802 color.
.textShadow {text-shadow: 3px 3px 1px #477802, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #477802, 5px 5px 20px red">Text here.</p>
This text has shadow with #477802 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#477802, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#477802, Direction=45, Strength=4)">Text</p>
This text has shadow with #477802 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #477802; -webkit-box-shadow: 1px 1px 3px 2px #477802; box-shadow: 1px 1px 3px 2px #477802; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #477802; -webkit-box-shadow: 1px 1px 3px 2px #477802; box-shadow:1px 1px 3px 2px #477802;">
Div content here</div>
This text has color #477802 on black background.
This text has color #477802 on white background.
This text has black color on #477802 background.
This text has white color on #477802 background.