COLOR #520C59

HEX: #520C59 RGB: (82,12,89)

Color info

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

RGB color model

#520C59 color RGB value is (82,12,89).

RGB: (82,12,89) (32%, 5%, 35%)

RGB channels and saturation

R 82 of 255 = 32%
G 12 of 255 = 5%
B 89 of 255 = 35%

82
12
89

R + G + B ~ 24%. #520C59 is dark color.

Portions of RGB colors in percentages

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

%44.81
%48.63

CMYK color model

#520C59 color CMYK value is (8,87,0,65).

  • cyan value is 7.87%
  • magenta value is 86.52%
  • yellow value is 0.00%
  • key color value is 65.10%

CMYK: (8,87,0,65)
C8M87Y0K65 (8%, 87%, 0%, 65%)
(0.08 / 0.87 / 0.00 / 0.65)

CMYK percentages

%7.87
%86.52
%0
%65.1

Codes

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 and tints

Shades of #520C59

#520C59
(82,12,89)
#4B0B51
(75,11,81)
#440A49
(68,10,73)
#3D0941
(61,9,65)
#360839
(54,8,57)
#2F0731
(47,7,49)
#280629
(40,6,41)
#210521
(33,5,33)
#1A0419
(26,4,25)
#130311
(19,3,17)
#0C0209
(12,2,9)
#000000
(0,0,0)

Tints of #520C59

#520C59
(82,12,89)
#612268
(97,34,104)
#703877
(112,56,119)
#7F4E86
(127,78,134)
#8E6495
(142,100,149)
#9D7AA4
(157,122,164)
#AC90B3
(172,144,179)
#BBA6C2
(187,166,194)
#CABCD1
(202,188,209)
#D9D2E0
(217,210,224)
#E8E8EF
(232,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C59; }

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

This text font color is #520C59.

Background Color

.myBgColor { background-color: #520C59; }

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

This div background color is #520C59.

Border color

.myBorderColor { border: 1px solid #520C59; }

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

This div border color is #520C59.

Opacity

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

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

Div box shadow color

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

Preview

Color preview on black background

This text has color #520C59 on black background.


Color preview on white background

This text has color #520C59 on white background.


Black color preview on #520C59 background

This text has black color on #520C59 background.


White color preview on #520C59 background

This text has white color on #520C59 background.


Related colors

Complementary color

Complementary color for #hex is #ADF3A6.


I love getcolorcode.com

Triadic colors

1 #59520C and #0C5952 with #520C59 are triadic colors.

2 #590C52 and #0C5259 with #520C59 are triadic colors.