HEX: #52556E
RGB: (82,85,110)
#52556E contains red, green and blue colors in about the same proportion. Web safe color of #52556E is #666666 (or #666).
#52556E color RGB value is (82,85,110).
RGB: (82,85,110) (32%,33%,43%)
R 82 of 255 = 32%
G 85 of 255 = 33%
B 110 of 255 = 43%
R + G + B ~ 36%. #52556E is quite dark color.
R + G + B =
82 + 85 + 110 = 277 (100%)
R 82 of 277 ~ 29.6%
G 85 of 277 ~ 30.69%
B 110 of 277 ~ 39.71%
#52556E color CMYK value is (25,23,0,57).
CMYK: (25,23,0,57) C25M23Y0K57 (25%,23%,0%,57%) (0.25/0.23/0.00/0.57)
52 | 55 | 6E | |
---|---|---|---|
RGB | 82 | 85 | 110 |
HSL | 234° | 14.58% | 37.65% |
HSB/HSV | 234° | 25.45% | 43.14% |
CMYK | 25.45% | 22.73% | 0.00% |
56.86% |
HEX | 52 | 55 | 6E |
Decimal | 82 | 85 | 110 |
Binary | 1010010 | 1010101 | 1101110 |
Octal | 122 | 125 | 156 |
Examples of css and html codes for elements with #52556E color. Also use rgb(82,85,110) instead hex code.
.myTextColor { color: #52556E; }
<p style="color:#52556E">This sample text font color is #52556E.</p>
This text font color is #52556E.
.myBgColor { background-color: #52556E; }
<div style="background-color:#52556E">Inner text</div>
This div background color is #52556E.
.myBorderColor { border: 1px solid #52556E; }
<div style="border:3px solid #52556E">Div</div>
This div border color is #52556E.
.myOpacity80 { color: #52556E; opacity: 0.8; }
<p style="color:#52556E;opacity:0.8;">80%</p>
Text with #52556E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52556E;}
<p style="text-shadow: 3px 3px 1px #52556E">Text here.</p>
This text has shadow with #52556E color.
.textShadow {text-shadow: 3px 3px 1px #52556E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52556E, 5px 5px 20px red">Text here.</p>
This text has shadow with #52556E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52556E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52556E, Direction=45, Strength=4)">Text</p>
This text has shadow with #52556E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52556E; -webkit-box-shadow: 1px 1px 3px 2px #52556E; box-shadow: 1px 1px 3px 2px #52556E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52556E; -webkit-box-shadow: 1px 1px 3px 2px #52556E; box-shadow:1px 1px 3px 2px #52556E;">
Div content here</div>
This text has color #52556E on black background.
This text has color #52556E on white background.
This text has black color on #52556E background.
This text has white color on #52556E background.