COLOR #520C5C

HEX: #520C5C RGB: (82,12,92)

Color info

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

RGB color model

#520C5C color RGB value is (82,12,92).

RGB: (82,12,92) (32%, 5%, 36%)

RGB channels and saturation

R 82 of 255 = 32%
G 12 of 255 = 5%
B 92 of 255 = 36%

82
12
92

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

Portions of RGB colors in percentages

R + G + B = 82 + 12 + 92 = 186 (100%)
R 82 of 186 ~ 44.09%
G 12 of 186 ~ 6.45%
B 92 of 186 ~ 49.46'%

%44.09
%49.46

CMYK color model

#520C5C color CMYK value is (11,87,0,64).

  • cyan value is 10.87%
  • magenta value is 86.96%
  • yellow value is 0.00%
  • key color value is 63.92%

CMYK: (11,87,0,64)
C11M87Y0K64 (11%, 87%, 0%, 64%)
(0.11 / 0.87 / 0.00 / 0.64)

CMYK percentages

%10.87
%86.96
%0
%63.92

Codes

Color #520C5C in popluar color models

52 0C 5C
RGB 82 12 92
HSL 293° 76.92% 20.39%
HSB/HSV 293° 86.96% 36.08%
CMYK 10.87% 86.96% 0.00%
63.92%

Color #520C5C in popluar number systems.

HEX 52 0C 5C
Decimal 82 12 92
Binary 1010010 1100 1011100
Octal 122 14 134

Shades and tints

Shades of #520C5C

#520C5C
(82,12,92)
#4B0B54
(75,11,84)
#440A4C
(68,10,76)
#3D0944
(61,9,68)
#36083C
(54,8,60)
#2F0734
(47,7,52)
#28062C
(40,6,44)
#210524
(33,5,36)
#1A041C
(26,4,28)
#130314
(19,3,20)
#0C020C
(12,2,12)
#000000
(0,0,0)

Tints of #520C5C

#520C5C
(82,12,92)
#61226A
(97,34,106)
#703878
(112,56,120)
#7F4E86
(127,78,134)
#8E6494
(142,100,148)
#9D7AA2
(157,122,162)
#AC90B0
(172,144,176)
#BBA6BE
(187,166,190)
#CABCCC
(202,188,204)
#D9D2DA
(217,210,218)
#E8E8E8
(232,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C5C; }

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

This text font color is #520C5C.

Background Color

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

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

This div background color is #520C5C.

Border color

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

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

This div border color is #520C5C.

Opacity

.myOpacity80 { color: #520C5C; opacity: 0.8; }

<p style="color:#520C5C;opacity:0.8;">80%</p>

Text with #520C5C 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 #520C5C;}

<p style="text-shadow: 3px 3px 1px #520C5C">Text here.</p>

This text has shadow with #520C5C color.


.textShadow {text-shadow: 3px 3px 1px #520C5C', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #520C5C, 5px 5px 20px red">Text here.</p>

This text has shadow with #520C5C primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520C5C, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#520C5C, Direction=45, Strength=4)">Text</p>

This text has shadow with #520C5C and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #520C5C;
-webkit-box-shadow: 1px 1px 3px 2px #520C5C;
box-shadow: 1px 1px 3px 2px #520C5C;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #520C5C; -webkit-box-shadow: 1px 1px 3px 2px #520C5C; box-shadow:1px 1px 3px 2px #520C5C;">
Div content here
</div>

This div box has shadow with color #520C5C.

Preview

Color preview on black background

This text has color #520C5C on black background.


Color preview on white background

This text has color #520C5C on white background.


Black color preview on #520C5C background

This text has black color on #520C5C background.


White color preview on #520C5C background

This text has white color on #520C5C background.


Related colors

Complementary color

Complementary color for #hex is #ADF3A3.


I love getcolorcode.com

Triadic colors

1 #5C520C and #0C5C52 with #520C5C are triadic colors.

2 #5C0C52 and #0C525C with #520C5C are triadic colors.