HEX: #525721
RGB: (82,87,33)
#525721 contains red, green and blue colors in about the same proportion. Web safe color of #525721 is #666633 (or #663).
#525721 color RGB value is (82,87,33).
RGB: (82,87,33) (32%,34%,13%)
R 82 of 255 = 32%
G 87 of 255 = 34%
B 33 of 255 = 13%
R + G + B ~ 26%. #525721 is quite dark color.
R + G + B =
82 + 87 + 33 = 202 (100%)
R 82 of 202 ~ 40.59%
G 87 of 202 ~ 43.07%
B 33 of 202 ~ 16.34%
#525721 color CMYK value is (6,0,62,66).
CMYK: (6,0,62,66) C6M0Y62K66 (6%,0%,62%,66%) (0.06/0.00/0.62/0.66)
52 | 57 | 21 | |
---|---|---|---|
RGB | 82 | 87 | 33 |
HSL | 66° | 45.00% | 23.53% |
HSB/HSV | 66° | 62.07% | 34.12% |
CMYK | 5.75% | 0.00% | 62.07% |
65.88% |
HEX | 52 | 57 | 21 |
Decimal | 82 | 87 | 33 |
Binary | 1010010 | 1010111 | 100001 |
Octal | 122 | 127 | 41 |
Examples of css and html codes for elements with #525721 color. Also use rgb(82,87,33) instead hex code.
.myTextColor { color: #525721; }
<p style="color:#525721">This sample text font color is #525721.</p>
This text font color is #525721.
.myBgColor { background-color: #525721; }
<div style="background-color:#525721">Inner text</div>
This div background color is #525721.
.myBorderColor { border: 1px solid #525721; }
<div style="border:3px solid #525721">Div</div>
This div border color is #525721.
.myOpacity80 { color: #525721; opacity: 0.8; }
<p style="color:#525721;opacity:0.8;">80%</p>
Text with #525721 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #525721;}
<p style="text-shadow: 3px 3px 1px #525721">Text here.</p>
This text has shadow with #525721 color.
.textShadow {text-shadow: 3px 3px 1px #525721, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #525721, 5px 5px 20px red">Text here.</p>
This text has shadow with #525721 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#525721, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#525721, Direction=45, Strength=4)">Text</p>
This text has shadow with #525721 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #525721; -webkit-box-shadow: 1px 1px 3px 2px #525721; box-shadow: 1px 1px 3px 2px #525721; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #525721; -webkit-box-shadow: 1px 1px 3px 2px #525721; box-shadow:1px 1px 3px 2px #525721;">
Div content here</div>
This text has color #525721 on black background.
This text has color #525721 on white background.
This text has black color on #525721 background.
This text has white color on #525721 background.