HEX: #477212
RGB: (71,114,18)
#477212 contains mainly red and green colors. Web safe color of #477212 is #336600 (or #360).
#477212 color RGB value is (71,114,18).
RGB: (71,114,18) (28%,45%,7%)
R 71 of 255 = 28%
G 114 of 255 = 45%
B 18 of 255 = 7%
R + G + B ~ 27%. #477212 is quite dark color.
R + G + B =
71 + 114 + 18 = 203 (100%)
R 71 of 203 ~ 34.98%
G 114 of 203 ~ 56.16%
B 18 of 203 ~ 8.87%
#477212 color CMYK value is (38,0,84,55).
CMYK: (38,0,84,55) C38M0Y84K55 (38%,0%,84%,55%) (0.38/0.00/0.84/0.55)
47 | 72 | 12 | |
---|---|---|---|
RGB | 71 | 114 | 18 |
HSL | 87° | 72.73% | 25.88% |
HSB/HSV | 87° | 84.21% | 44.71% |
CMYK | 37.72% | 0.00% | 84.21% |
55.29% |
HEX | 47 | 72 | 12 |
Decimal | 71 | 114 | 18 |
Binary | 1000111 | 1110010 | 10010 |
Octal | 107 | 162 | 22 |
Examples of css and html codes for elements with #477212 color. Also use rgb(71,114,18) instead hex code.
.myTextColor { color: #477212; }
<p style="color:#477212">This sample text font color is #477212.</p>
This text font color is #477212.
.myBgColor { background-color: #477212; }
<div style="background-color:#477212">Inner text</div>
This div background color is #477212.
.myBorderColor { border: 1px solid #477212; }
<div style="border:3px solid #477212">Div</div>
This div border color is #477212.
.myOpacity80 { color: #477212; opacity: 0.8; }
<p style="color:#477212;opacity:0.8;">80%</p>
Text with #477212 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #477212;}
<p style="text-shadow: 3px 3px 1px #477212">Text here.</p>
This text has shadow with #477212 color.
.textShadow {text-shadow: 3px 3px 1px #477212, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #477212, 5px 5px 20px red">Text here.</p>
This text has shadow with #477212 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#477212, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#477212, Direction=45, Strength=4)">Text</p>
This text has shadow with #477212 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #477212; -webkit-box-shadow: 1px 1px 3px 2px #477212; box-shadow: 1px 1px 3px 2px #477212; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #477212; -webkit-box-shadow: 1px 1px 3px 2px #477212; box-shadow:1px 1px 3px 2px #477212;">
Div content here</div>
This text has color #477212 on black background.
This text has color #477212 on white background.
This text has black color on #477212 background.
This text has white color on #477212 background.