HEX: #520459
RGB: (82,4,89)
#520459 contains mainly red and blue colors. Web safe color of #520459 is #660066 (or #606).
#520459 color RGB value is (82,4,89).
RGB: (82,4,89) (32%,2%,35%)
R 82 of 255 = 32%
G 4 of 255 = 2%
B 89 of 255 = 35%
R + G + B ~ 23%. #520459 is dark color.
R + G + B =
82 + 4 + 89 = 175 (100%)
R 82 of 175 ~ 46.86%
G 4 of 175 ~ 2.29%
B 89 of 175 ~ 50.86%
#520459 color CMYK value is (8,96,0,65).
CMYK: (8,96,0,65) C8M96Y0K65 (8%,96%,0%,65%) (0.08/0.96/0.00/0.65)
52 | 04 | 59 | |
---|---|---|---|
RGB | 82 | 4 | 89 |
HSL | 295° | 91.40% | 18.24% |
HSB/HSV | 295° | 95.51% | 34.90% |
CMYK | 7.87% | 95.51% | 0.00% |
65.10% |
HEX | 52 | 04 | 59 |
Decimal | 82 | 4 | 89 |
Binary | 1010010 | 100 | 1011001 |
Octal | 122 | 4 | 131 |
Examples of css and html codes for elements with #520459 color. Also use rgb(82,4,89) instead hex code.
.myTextColor { color: #520459; }
<p style="color:#520459">This sample text font color is #520459.</p>
This text font color is #520459.
.myBgColor { background-color: #520459; }
<div style="background-color:#520459">Inner text</div>
This div background color is #520459.
.myBorderColor { border: 1px solid #520459; }
<div style="border:3px solid #520459">Div</div>
This div border color is #520459.
.myOpacity80 { color: #520459; opacity: 0.8; }
<p style="color:#520459;opacity:0.8;">80%</p>
Text with #520459 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520459;}
<p style="text-shadow: 3px 3px 1px #520459">Text here.</p>
This text has shadow with #520459 color.
.textShadow {text-shadow: 3px 3px 1px #520459, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520459, 5px 5px 20px red">Text here.</p>
This text has shadow with #520459 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520459, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520459, Direction=45, Strength=4)">Text</p>
This text has shadow with #520459 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520459; -webkit-box-shadow: 1px 1px 3px 2px #520459; box-shadow: 1px 1px 3px 2px #520459; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520459; -webkit-box-shadow: 1px 1px 3px 2px #520459; box-shadow:1px 1px 3px 2px #520459;">
Div content here</div>
This text has color #520459 on black background.
This text has color #520459 on white background.
This text has black color on #520459 background.
This text has white color on #520459 background.