HEX: #525957
RGB: (82,89,87)
#525957 contains red, green and blue colors in about the same proportion. Web safe color of #525957 is #666666 (or #666).
#525957 color RGB value is (82,89,87).
RGB: (82,89,87) (32%,35%,34%)
R 82 of 255 = 32%
G 89 of 255 = 35%
B 87 of 255 = 34%
R + G + B ~ 34%. #525957 is quite dark color.
R + G + B =
82 + 89 + 87 = 258 (100%)
R 82 of 258 ~ 31.78%
G 89 of 258 ~ 34.5%
B 87 of 258 ~ 33.72%
#525957 color CMYK value is (8,0,2,65).
CMYK: (8,0,2,65) C8M0Y2K65 (8%,0%,2%,65%) (0.08/0.00/0.02/0.65)
52 | 59 | 57 | |
---|---|---|---|
RGB | 82 | 89 | 87 |
HSL | 163° | 4.09% | 33.53% |
HSB/HSV | 163° | 7.87% | 34.90% |
CMYK | 7.87% | 0.00% | 2.25% |
65.10% |
HEX | 52 | 59 | 57 |
Decimal | 82 | 89 | 87 |
Binary | 1010010 | 1011001 | 1010111 |
Octal | 122 | 131 | 127 |
Examples of css and html codes for elements with #525957 color. Also use rgb(82,89,87) instead hex code.
.myTextColor { color: #525957; }
<p style="color:#525957">This sample text font color is #525957.</p>
This text font color is #525957.
.myBgColor { background-color: #525957; }
<div style="background-color:#525957">Inner text</div>
This div background color is #525957.
.myBorderColor { border: 1px solid #525957; }
<div style="border:3px solid #525957">Div</div>
This div border color is #525957.
.myOpacity80 { color: #525957; opacity: 0.8; }
<p style="color:#525957;opacity:0.8;">80%</p>
Text with #525957 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #525957;}
<p style="text-shadow: 3px 3px 1px #525957">Text here.</p>
This text has shadow with #525957 color.
.textShadow {text-shadow: 3px 3px 1px #525957, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #525957, 5px 5px 20px red">Text here.</p>
This text has shadow with #525957 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#525957, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#525957, Direction=45, Strength=4)">Text</p>
This text has shadow with #525957 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #525957; -webkit-box-shadow: 1px 1px 3px 2px #525957; box-shadow: 1px 1px 3px 2px #525957; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #525957; -webkit-box-shadow: 1px 1px 3px 2px #525957; box-shadow:1px 1px 3px 2px #525957;">
Div content here</div>
This text has color #525957 on black background.
This text has color #525957 on white background.
This text has black color on #525957 background.
This text has white color on #525957 background.