HEX: #52596F
RGB: (82,89,111)
#52596F contains red, green and blue colors in about the same proportion. Web safe color of #52596F is #666666 (or #666).
#52596F color RGB value is (82,89,111).
RGB: (82,89,111) (32%,35%,44%)
R 82 of 255 = 32%
G 89 of 255 = 35%
B 111 of 255 = 44%
R + G + B ~ 37%. #52596F is quite dark color.
R + G + B =
82 + 89 + 111 = 282 (100%)
R 82 of 282 ~ 29.08%
G 89 of 282 ~ 31.56%
B 111 of 282 ~ 39.36%
#52596F color CMYK value is (26,20,0,56).
CMYK: (26,20,0,56) C26M20Y0K56 (26%,20%,0%,56%) (0.26/0.20/0.00/0.56)
52 | 59 | 6F | |
---|---|---|---|
RGB | 82 | 89 | 111 |
HSL | 226° | 15.03% | 37.84% |
HSB/HSV | 226° | 26.13% | 43.53% |
CMYK | 26.13% | 19.82% | 0.00% |
56.47% |
HEX | 52 | 59 | 6F |
Decimal | 82 | 89 | 111 |
Binary | 1010010 | 1011001 | 1101111 |
Octal | 122 | 131 | 157 |
Examples of css and html codes for elements with #52596F color. Also use rgb(82,89,111) instead hex code.
.myTextColor { color: #52596F; }
<p style="color:#52596F">This sample text font color is #52596F.</p>
This text font color is #52596F.
.myBgColor { background-color: #52596F; }
<div style="background-color:#52596F">Inner text</div>
This div background color is #52596F.
.myBorderColor { border: 1px solid #52596F; }
<div style="border:3px solid #52596F">Div</div>
This div border color is #52596F.
.myOpacity80 { color: #52596F; opacity: 0.8; }
<p style="color:#52596F;opacity:0.8;">80%</p>
Text with #52596F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52596F;}
<p style="text-shadow: 3px 3px 1px #52596F">Text here.</p>
This text has shadow with #52596F color.
.textShadow {text-shadow: 3px 3px 1px #52596F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52596F, 5px 5px 20px red">Text here.</p>
This text has shadow with #52596F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52596F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52596F, Direction=45, Strength=4)">Text</p>
This text has shadow with #52596F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52596F; -webkit-box-shadow: 1px 1px 3px 2px #52596F; box-shadow: 1px 1px 3px 2px #52596F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52596F; -webkit-box-shadow: 1px 1px 3px 2px #52596F; box-shadow:1px 1px 3px 2px #52596F;">
Div content here</div>
This text has color #52596F on black background.
This text has color #52596F on white background.
This text has black color on #52596F background.
This text has white color on #52596F background.