HEX: #475217
RGB: (71,82,23)
#475217 contains red, green and blue colors in about the same proportion. Web safe color of #475217 is #336600 (or #360).
#475217 color RGB value is (71,82,23).
RGB: (71,82,23) (28%,32%,9%)
R 71 of 255 = 28%
G 82 of 255 = 32%
B 23 of 255 = 9%
R + G + B ~ 23%. #475217 is dark color.
R + G + B =
71 + 82 + 23 = 176 (100%)
R 71 of 176 ~ 40.34%
G 82 of 176 ~ 46.59%
B 23 of 176 ~ 13.07%
#475217 color CMYK value is (13,0,72,68).
CMYK: (13,0,72,68) C13M0Y72K68 (13%,0%,72%,68%) (0.13/0.00/0.72/0.68)
47 | 52 | 17 | |
---|---|---|---|
RGB | 71 | 82 | 23 |
HSL | 71° | 56.19% | 20.59% |
HSB/HSV | 71° | 71.95% | 32.16% |
CMYK | 13.41% | 0.00% | 71.95% |
67.84% |
HEX | 47 | 52 | 17 |
Decimal | 71 | 82 | 23 |
Binary | 1000111 | 1010010 | 10111 |
Octal | 107 | 122 | 27 |
Examples of css and html codes for elements with #475217 color. Also use rgb(71,82,23) instead hex code.
.myTextColor { color: #475217; }
<p style="color:#475217">This sample text font color is #475217.</p>
This text font color is #475217.
.myBgColor { background-color: #475217; }
<div style="background-color:#475217">Inner text</div>
This div background color is #475217.
.myBorderColor { border: 1px solid #475217; }
<div style="border:3px solid #475217">Div</div>
This div border color is #475217.
.myOpacity80 { color: #475217; opacity: 0.8; }
<p style="color:#475217;opacity:0.8;">80%</p>
Text with #475217 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #475217;}
<p style="text-shadow: 3px 3px 1px #475217">Text here.</p>
This text has shadow with #475217 color.
.textShadow {text-shadow: 3px 3px 1px #475217, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #475217, 5px 5px 20px red">Text here.</p>
This text has shadow with #475217 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#475217, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#475217, Direction=45, Strength=4)">Text</p>
This text has shadow with #475217 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #475217; -webkit-box-shadow: 1px 1px 3px 2px #475217; box-shadow: 1px 1px 3px 2px #475217; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #475217; -webkit-box-shadow: 1px 1px 3px 2px #475217; box-shadow:1px 1px 3px 2px #475217;">
Div content here</div>
This text has color #475217 on black background.
This text has color #475217 on white background.
This text has black color on #475217 background.
This text has white color on #475217 background.