COLOR #520459

HEX: #520459
RGB: (82,4,89)

Color info

#520459 contains mainly red and blue colors. Web safe color of #520459 is #660066 (or #606).

RGB color model

#520459 color RGB value is (82,4,89).

  • red value is 82;
  • green value is 4;
  • blue value is 89.
RGB:
(82,4,89)
(32%,2%,35%)

RGB channels and saturation

R 82 of 255 = 32%
G 4 of 255 = 2%
B 89 of 255 = 35%

82
4
89

R + G + B ~ 23%. #520459 is dark color.

Portions of RGB colors in percentages

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%

%46.86
%50.86

CMYK color model

#520459 color CMYK value is (8,96,0,65).

  • cyan value is 7.87%
  • magenta value is 95.51%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(8,96,0,65)
C8M96Y0K65 
(8%,96%,0%,65%)
(0.08/0.96/0.00/0.65)	

CMYK percentages

%7.87
%95.51
%0
%65.1

Codes

Color #520459 in popluar color models

520459
RGB82489
HSL295°91.40%18.24%
HSB/HSV295°95.51%34.90%
CMYK7.87%95.51%0.00%
65.10%

Color #520459 in popluar number systems.

HEX520459
Decimal82489
Binary10100101001011001
Octal1224131

Shades and tints

Shades of #520459

#520459
(82,4,89)
#4B0451
(75,4,81)
#440449
(68,4,73)
#3D0441
(61,4,65)
#360439
(54,4,57)
#2F0431
(47,4,49)
#280429
(40,4,41)
#210421
(33,4,33)
#1A0419
(26,4,25)
#130411
(19,4,17)
#0C0409
(12,4,9)
#000000
(0,0,0)

Tints of #520459

#520459
(82,4,89)
#611A68
(97,26,104)
#703077
(112,48,119)
#7F4686
(127,70,134)
#8E5C95
(142,92,149)
#9D72A4
(157,114,164)
#AC88B3
(172,136,179)
#BB9EC2
(187,158,194)
#CAB4D1
(202,180,209)
#D9CAE0
(217,202,224)
#E8E0EF
(232,224,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #520459 color. Also use rgb(82,4,89) instead hex code.

Text Font Color

.myTextColor { color: #520459; }

<p style="color:#520459">This sample text font color is #520459.</p>

This text font color is #520459.


Background Color

.myBgColor { background-color: #520459; }

<div style="background-color:#520459">Inner text</div>

This div background color is #520459.


Border color

.myBorderColor { border: 1px solid #520459; }

<div style="border:3px solid #520459">Div</div>

This div border color is #520459.


Opacity

.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%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.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.


Div box shadow color

/* 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 div box has shadow with color #520459.

Preview

Color preview on black background

This text has color #520459 on black background.


Color preview on white background

This text has color #520459 on white background.



Black color preview on #520459 background

This text has black color on #520459 background.


White color preview on #520459 background

This text has white color on #520459 background.