HEX: #520C59
RGB: (82,12,89)
#520C59 contains mainly red and blue colors. Web safe color of #520C59 is #660066 (or #606).
#520C59 color RGB value is (82,12,89).
RGB: (82,12,89)
(32%, 5%, 35%)
R 82 of 255 = 32%
G 12 of 255 = 5%
B 89 of 255 = 35%
R + G + B ~ 24%. #520C59 is dark color.
R + G + B = 82 + 12 + 89 = 183 (100%)
R 82 of 183 ~ 44.81%
G 12 of 183 ~ 6.56%
B 89 of 183 ~ 48.63'%
#520C59 color CMYK value is (8,87,0,65).
CMYK: (8,87,0,65)
C8M87Y0K65 (8%, 87%, 0%, 65%)
(0.08 / 0.87 / 0.00 / 0.65)
Color #520C59 in popluar color models
52 | 0C | 59 | |
---|---|---|---|
RGB | 82 | 12 | 89 |
HSL | 295° | 76.24% | 19.80% |
HSB/HSV | 295° | 86.52% | 34.90% |
CMYK | 7.87% | 86.52% | 0.00% |
65.10% |
Color #520C59 in popluar number systems.
HEX | 52 | 0C | 59 |
Decimal | 82 | 12 | 89 |
Binary | 1010010 | 1100 | 1011001 |
Octal | 122 | 14 | 131 |
Shades of #520C59
Tints of #520C59
Examples of css and html codes for elements with #520C59 color. Also use rgb(82,12,89) instead hex code.
.myTextColor { color: #520C59; }
<p style="color:#520C59">This sample text font color is #520C59.</p>
This text font color is #520C59.
.myBgColor { background-color: #520C59; }
<div style="background-color:#520C59">Inner text</div>
This div background color is #520C59.
.myBorderColor { border: 1px solid #520C59; }
<div style="border:3px solid #520C59">Div</div>
This div border color is #520C59.
.myOpacity80 { color: #520C59; opacity: 0.8; }
<p style="color:#520C59;opacity:0.8;">80%</p>
Text with #520C59 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520C59;}
<p style="text-shadow: 3px 3px 1px #520C59">Text here.</p>
This text has shadow with #520C59 color.
.textShadow {text-shadow: 3px 3px 1px #520C59', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520C59, 5px 5px 20px red">Text here.</p>
This text has shadow with #520C59 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520C59, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520C59, Direction=45, Strength=4)">Text</p>
This text has shadow with #520C59 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #520C59;
-webkit-box-shadow: 1px 1px 3px 2px #520C59;
box-shadow: 1px 1px 3px 2px #520C59;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #520C59; -webkit-box-shadow: 1px 1px 3px 2px #520C59; box-shadow:1px 1px 3px 2px #520C59;">
Div content here
</div>
This text has color #520C59 on black background.
This text has color #520C59 on white background.
This text has black color on #520C59 background.
This text has white color on #520C59 background.
Complementary color for #hex is #ADF3A6.