HEX: #472204
RGB: (71,34,4)
#472204 contains mainly red and green colors. Web safe color of #472204 is #333300 (or #330).
#472204 color RGB value is (71,34,4).
RGB: (71,34,4) (28%,13%,2%)
R 71 of 255 = 28%
G 34 of 255 = 13%
B 4 of 255 = 2%
R + G + B ~ 14%. #472204 is dark color.
R + G + B =
71 + 34 + 4 = 109 (100%)
R 71 of 109 ~ 65.14%
G 34 of 109 ~ 31.19%
B 4 of 109 ~ 3.67%
#472204 color CMYK value is (0,52,94,72).
CMYK: (0,52,94,72) C0M52Y94K72 (0%,52%,94%,72%) (0.00/0.52/0.94/0.72)
47 | 22 | 04 | |
---|---|---|---|
RGB | 71 | 34 | 4 |
HSL | 27° | 89.33% | 14.71% |
HSB/HSV | 27° | 94.37% | 27.84% |
CMYK | 0.00% | 52.11% | 94.37% |
72.16% |
HEX | 47 | 22 | 04 |
Decimal | 71 | 34 | 4 |
Binary | 1000111 | 100010 | 100 |
Octal | 107 | 42 | 4 |
Examples of css and html codes for elements with #472204 color. Also use rgb(71,34,4) instead hex code.
.myTextColor { color: #472204; }
<p style="color:#472204">This sample text font color is #472204.</p>
This text font color is #472204.
.myBgColor { background-color: #472204; }
<div style="background-color:#472204">Inner text</div>
This div background color is #472204.
.myBorderColor { border: 1px solid #472204; }
<div style="border:3px solid #472204">Div</div>
This div border color is #472204.
.myOpacity80 { color: #472204; opacity: 0.8; }
<p style="color:#472204;opacity:0.8;">80%</p>
Text with #472204 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472204;}
<p style="text-shadow: 3px 3px 1px #472204">Text here.</p>
This text has shadow with #472204 color.
.textShadow {text-shadow: 3px 3px 1px #472204, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472204, 5px 5px 20px red">Text here.</p>
This text has shadow with #472204 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472204, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472204, Direction=45, Strength=4)">Text</p>
This text has shadow with #472204 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472204; -webkit-box-shadow: 1px 1px 3px 2px #472204; box-shadow: 1px 1px 3px 2px #472204; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472204; -webkit-box-shadow: 1px 1px 3px 2px #472204; box-shadow:1px 1px 3px 2px #472204;">
Div content here</div>
This text has color #472204 on black background.
This text has color #472204 on white background.
This text has black color on #472204 background.
This text has white color on #472204 background.