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