HEX: #472F06
RGB: (71,47,6)
#472F06 contains mainly red and green colors. Web safe color of #472F06 is #333300 (or #330).
#472F06 color RGB value is (71,47,6).
RGB: (71,47,6) (28%,18%,2%)
R 71 of 255 = 28%
G 47 of 255 = 18%
B 6 of 255 = 2%
R + G + B ~ 16%. #472F06 is dark color.
R + G + B =
71 + 47 + 6 = 124 (100%)
R 71 of 124 ~ 57.26%
G 47 of 124 ~ 37.9%
B 6 of 124 ~ 4.84%
#472F06 color CMYK value is (0,34,92,72).
CMYK: (0,34,92,72) C0M34Y92K72 (0%,34%,92%,72%) (0.00/0.34/0.92/0.72)
47 | 2F | 06 | |
---|---|---|---|
RGB | 71 | 47 | 6 |
HSL | 38° | 84.42% | 15.10% |
HSB/HSV | 38° | 91.55% | 27.84% |
CMYK | 0.00% | 33.80% | 91.55% |
72.16% |
HEX | 47 | 2F | 06 |
Decimal | 71 | 47 | 6 |
Binary | 1000111 | 101111 | 110 |
Octal | 107 | 57 | 6 |
Examples of css and html codes for elements with #472F06 color. Also use rgb(71,47,6) instead hex code.
.myTextColor { color: #472F06; }
<p style="color:#472F06">This sample text font color is #472F06.</p>
This text font color is #472F06.
.myBgColor { background-color: #472F06; }
<div style="background-color:#472F06">Inner text</div>
This div background color is #472F06.
.myBorderColor { border: 1px solid #472F06; }
<div style="border:3px solid #472F06">Div</div>
This div border color is #472F06.
.myOpacity80 { color: #472F06; opacity: 0.8; }
<p style="color:#472F06;opacity:0.8;">80%</p>
Text with #472F06 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472F06;}
<p style="text-shadow: 3px 3px 1px #472F06">Text here.</p>
This text has shadow with #472F06 color.
.textShadow {text-shadow: 3px 3px 1px #472F06, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472F06, 5px 5px 20px red">Text here.</p>
This text has shadow with #472F06 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472F06, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472F06, Direction=45, Strength=4)">Text</p>
This text has shadow with #472F06 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472F06; -webkit-box-shadow: 1px 1px 3px 2px #472F06; box-shadow: 1px 1px 3px 2px #472F06; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472F06; -webkit-box-shadow: 1px 1px 3px 2px #472F06; box-shadow:1px 1px 3px 2px #472F06;">
Div content here</div>
This text has color #472F06 on black background.
This text has color #472F06 on white background.
This text has black color on #472F06 background.
This text has white color on #472F06 background.