HEX: #52506D
RGB: (82,80,109)
#52506D contains red, green and blue colors in about the same proportion. Web safe color of #52506D is #666666 (or #666).
#52506D color RGB value is (82,80,109).
RGB: (82,80,109) (32%,31%,43%)
R 82 of 255 = 32%
G 80 of 255 = 31%
B 109 of 255 = 43%
R + G + B ~ 35%. #52506D is quite dark color.
R + G + B =
82 + 80 + 109 = 271 (100%)
R 82 of 271 ~ 30.26%
G 80 of 271 ~ 29.52%
B 109 of 271 ~ 40.22%
#52506D color CMYK value is (25,27,0,57).
CMYK: (25,27,0,57) C25M27Y0K57 (25%,27%,0%,57%) (0.25/0.27/0.00/0.57)
52 | 50 | 6D | |
---|---|---|---|
RGB | 82 | 80 | 109 |
HSL | 244° | 15.34% | 37.06% |
HSB/HSV | 244° | 26.61% | 42.75% |
CMYK | 24.77% | 26.61% | 0.00% |
57.25% |
HEX | 52 | 50 | 6D |
Decimal | 82 | 80 | 109 |
Binary | 1010010 | 1010000 | 1101101 |
Octal | 122 | 120 | 155 |
Examples of css and html codes for elements with #52506D color. Also use rgb(82,80,109) instead hex code.
.myTextColor { color: #52506D; }
<p style="color:#52506D">This sample text font color is #52506D.</p>
This text font color is #52506D.
.myBgColor { background-color: #52506D; }
<div style="background-color:#52506D">Inner text</div>
This div background color is #52506D.
.myBorderColor { border: 1px solid #52506D; }
<div style="border:3px solid #52506D">Div</div>
This div border color is #52506D.
.myOpacity80 { color: #52506D; opacity: 0.8; }
<p style="color:#52506D;opacity:0.8;">80%</p>
Text with #52506D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #52506D;}
<p style="text-shadow: 3px 3px 1px #52506D">Text here.</p>
This text has shadow with #52506D color.
.textShadow {text-shadow: 3px 3px 1px #52506D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #52506D, 5px 5px 20px red">Text here.</p>
This text has shadow with #52506D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#52506D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#52506D, Direction=45, Strength=4)">Text</p>
This text has shadow with #52506D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #52506D; -webkit-box-shadow: 1px 1px 3px 2px #52506D; box-shadow: 1px 1px 3px 2px #52506D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #52506D; -webkit-box-shadow: 1px 1px 3px 2px #52506D; box-shadow:1px 1px 3px 2px #52506D;">
Div content here</div>
This text has color #52506D on black background.
This text has color #52506D on white background.
This text has black color on #52506D background.
This text has white color on #52506D background.