HEX: #477F22
RGB: (71,127,34)
#477F22 contains mainly red and green colors. Web safe color of #477F22 is #336633 (or #363).
#477F22 color RGB value is (71,127,34).
RGB: (71,127,34) (28%,50%,13%)
R 71 of 255 = 28%
G 127 of 255 = 50%
B 34 of 255 = 13%
R + G + B ~ 30%. #477F22 is quite dark color.
R + G + B =
71 + 127 + 34 = 232 (100%)
R 71 of 232 ~ 30.6%
G 127 of 232 ~ 54.74%
B 34 of 232 ~ 14.66%
#477F22 color CMYK value is (44,0,73,50).
CMYK: (44,0,73,50) C44M0Y73K50 (44%,0%,73%,50%) (0.44/0.00/0.73/0.50)
47 | 7F | 22 | |
---|---|---|---|
RGB | 71 | 127 | 34 |
HSL | 96° | 57.76% | 31.57% |
HSB/HSV | 96° | 73.23% | 49.80% |
CMYK | 44.09% | 0.00% | 73.23% |
50.20% |
HEX | 47 | 7F | 22 |
Decimal | 71 | 127 | 34 |
Binary | 1000111 | 1111111 | 100010 |
Octal | 107 | 177 | 42 |
Examples of css and html codes for elements with #477F22 color. Also use rgb(71,127,34) instead hex code.
.myTextColor { color: #477F22; }
<p style="color:#477F22">This sample text font color is #477F22.</p>
This text font color is #477F22.
.myBgColor { background-color: #477F22; }
<div style="background-color:#477F22">Inner text</div>
This div background color is #477F22.
.myBorderColor { border: 1px solid #477F22; }
<div style="border:3px solid #477F22">Div</div>
This div border color is #477F22.
.myOpacity80 { color: #477F22; opacity: 0.8; }
<p style="color:#477F22;opacity:0.8;">80%</p>
Text with #477F22 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #477F22;}
<p style="text-shadow: 3px 3px 1px #477F22">Text here.</p>
This text has shadow with #477F22 color.
.textShadow {text-shadow: 3px 3px 1px #477F22, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #477F22, 5px 5px 20px red">Text here.</p>
This text has shadow with #477F22 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#477F22, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#477F22, Direction=45, Strength=4)">Text</p>
This text has shadow with #477F22 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #477F22; -webkit-box-shadow: 1px 1px 3px 2px #477F22; box-shadow: 1px 1px 3px 2px #477F22; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #477F22; -webkit-box-shadow: 1px 1px 3px 2px #477F22; box-shadow:1px 1px 3px 2px #477F22;">
Div content here</div>
This text has color #477F22 on black background.
This text has color #477F22 on white background.
This text has black color on #477F22 background.
This text has white color on #477F22 background.