HEX: #52597E
RGB: (82,89,126)
#52597E contains red, green and blue colors in about the same proportion. Web safe color of #52597E is #666666 (or #666).
#52597E color RGB value is (82,89,126).
RGB: (82,89,126) (32%,35%,49%)
R 82 of 255 = 32%
G 89 of 255 = 35%
B 126 of 255 = 49%
R + G + B ~ 39%. #52597E is quite dark color.
R + G + B =
82 + 89 + 126 = 297 (100%)
R 82 of 297 ~ 27.61%
G 89 of 297 ~ 29.97%
B 126 of 297 ~ 42.42%
#52597E color CMYK value is (35,29,0,51).
CMYK: (35,29,0,51) C35M29Y0K51 (35%,29%,0%,51%) (0.35/0.29/0.00/0.51)
52 | 59 | 7E | |
---|---|---|---|
RGB | 82 | 89 | 126 |
HSL | 230° | 21.15% | 40.78% |
HSB/HSV | 230° | 34.92% | 49.41% |
CMYK | 34.92% | 29.37% | 0.00% |
50.59% |
HEX | 52 | 59 | 7E |
Decimal | 82 | 89 | 126 |
Binary | 1010010 | 1011001 | 1111110 |
Octal | 122 | 131 | 176 |
Examples of css and html codes for elements with #52597E color. Also use rgb(82,89,126) instead hex code.
.myTextColor { color: #52597E; }
<p style="color:#52597E">This sample text font color is #52597E.</p>
This text font color is #52597E.
.myBgColor { background-color: #52597E; }
<div style="background-color:#52597E">Inner text</div>
This div background color is #52597E.
.myBorderColor { border: 1px solid #52597E; }
<div style="border:3px solid #52597E">Div</div>
This div border color is #52597E.
.myOpacity80 { color: #52597E; opacity: 0.8; }
<p style="color:#52597E;opacity:0.8;">80%</p>
Text with #52597E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52597E;}
<p style="text-shadow: 3px 3px 1px #52597E">Text here.</p>
This text has shadow with #52597E color.
.textShadow {text-shadow: 3px 3px 1px #52597E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52597E, 5px 5px 20px red">Text here.</p>
This text has shadow with #52597E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52597E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52597E, Direction=45, Strength=4)">Text</p>
This text has shadow with #52597E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52597E; -webkit-box-shadow: 1px 1px 3px 2px #52597E; box-shadow: 1px 1px 3px 2px #52597E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52597E; -webkit-box-shadow: 1px 1px 3px 2px #52597E; box-shadow:1px 1px 3px 2px #52597E;">
Div content here</div>
This text has color #52597E on black background.
This text has color #52597E on white background.
This text has black color on #52597E background.
This text has white color on #52597E background.