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