HEX: #472808
RGB: (71,40,8)
#472808 contains mainly red and green colors. Web safe color of #472808 is #333300 (or #330).
#472808 color RGB value is (71,40,8).
RGB: (71,40,8) (28%,16%,3%)
R 71 of 255 = 28%
G 40 of 255 = 16%
B 8 of 255 = 3%
R + G + B ~ 16%. #472808 is dark color.
R + G + B =
71 + 40 + 8 = 119 (100%)
R 71 of 119 ~ 59.66%
G 40 of 119 ~ 33.61%
B 8 of 119 ~ 6.72%
#472808 color CMYK value is (0,44,89,72).
CMYK: (0,44,89,72) C0M44Y89K72 (0%,44%,89%,72%) (0.00/0.44/0.89/0.72)
47 | 28 | 08 | |
---|---|---|---|
RGB | 71 | 40 | 8 |
HSL | 30° | 79.75% | 15.49% |
HSB/HSV | 30° | 88.73% | 27.84% |
CMYK | 0.00% | 43.66% | 88.73% |
72.16% |
HEX | 47 | 28 | 08 |
Decimal | 71 | 40 | 8 |
Binary | 1000111 | 101000 | 1000 |
Octal | 107 | 50 | 10 |
Examples of css and html codes for elements with #472808 color. Also use rgb(71,40,8) instead hex code.
.myTextColor { color: #472808; }
<p style="color:#472808">This sample text font color is #472808.</p>
This text font color is #472808.
.myBgColor { background-color: #472808; }
<div style="background-color:#472808">Inner text</div>
This div background color is #472808.
.myBorderColor { border: 1px solid #472808; }
<div style="border:3px solid #472808">Div</div>
This div border color is #472808.
.myOpacity80 { color: #472808; opacity: 0.8; }
<p style="color:#472808;opacity:0.8;">80%</p>
Text with #472808 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472808;}
<p style="text-shadow: 3px 3px 1px #472808">Text here.</p>
This text has shadow with #472808 color.
.textShadow {text-shadow: 3px 3px 1px #472808, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472808, 5px 5px 20px red">Text here.</p>
This text has shadow with #472808 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472808, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472808, Direction=45, Strength=4)">Text</p>
This text has shadow with #472808 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472808; -webkit-box-shadow: 1px 1px 3px 2px #472808; box-shadow: 1px 1px 3px 2px #472808; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472808; -webkit-box-shadow: 1px 1px 3px 2px #472808; box-shadow:1px 1px 3px 2px #472808;">
Div content here</div>
This text has color #472808 on black background.
This text has color #472808 on white background.
This text has black color on #472808 background.
This text has white color on #472808 background.