HEX: #472839
RGB: (71,40,57)
#472839 contains red, green and blue colors in about the same proportion. Web safe color of #472839 is #333333 (or #333).
#472839 color RGB value is (71,40,57).
RGB: (71,40,57) (28%,16%,22%)
R 71 of 255 = 28%
G 40 of 255 = 16%
B 57 of 255 = 22%
R + G + B ~ 22%. #472839 is dark color.
R + G + B =
71 + 40 + 57 = 168 (100%)
R 71 of 168 ~ 42.26%
G 40 of 168 ~ 23.81%
B 57 of 168 ~ 33.93%
#472839 color CMYK value is (0,44,20,72).
CMYK: (0,44,20,72) C0M44Y20K72 (0%,44%,20%,72%) (0.00/0.44/0.20/0.72)
47 | 28 | 39 | |
---|---|---|---|
RGB | 71 | 40 | 57 |
HSL | 327° | 27.93% | 21.76% |
HSB/HSV | 327° | 43.66% | 27.84% |
CMYK | 0.00% | 43.66% | 19.72% |
72.16% |
HEX | 47 | 28 | 39 |
Decimal | 71 | 40 | 57 |
Binary | 1000111 | 101000 | 111001 |
Octal | 107 | 50 | 71 |
Examples of css and html codes for elements with #472839 color. Also use rgb(71,40,57) instead hex code.
.myTextColor { color: #472839; }
<p style="color:#472839">This sample text font color is #472839.</p>
This text font color is #472839.
.myBgColor { background-color: #472839; }
<div style="background-color:#472839">Inner text</div>
This div background color is #472839.
.myBorderColor { border: 1px solid #472839; }
<div style="border:3px solid #472839">Div</div>
This div border color is #472839.
.myOpacity80 { color: #472839; opacity: 0.8; }
<p style="color:#472839;opacity:0.8;">80%</p>
Text with #472839 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #472839;}
<p style="text-shadow: 3px 3px 1px #472839">Text here.</p>
This text has shadow with #472839 color.
.textShadow {text-shadow: 3px 3px 1px #472839, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #472839, 5px 5px 20px red">Text here.</p>
This text has shadow with #472839 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#472839, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#472839, Direction=45, Strength=4)">Text</p>
This text has shadow with #472839 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #472839; -webkit-box-shadow: 1px 1px 3px 2px #472839; box-shadow: 1px 1px 3px 2px #472839; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #472839; -webkit-box-shadow: 1px 1px 3px 2px #472839; box-shadow:1px 1px 3px 2px #472839;">
Div content here</div>
This text has color #472839 on black background.
This text has color #472839 on white background.
This text has black color on #472839 background.
This text has white color on #472839 background.