COLOR #520C6C

HEX: #520C6C
RGB: (82,12,108)

Color info

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

RGB color model

#520C6C color RGB value is (82,12,108).

  • red value is 82;
  • green value is 12;
  • blue value is 108.
RGB:
(82,12,108)
(32%,5%,42%)

RGB channels and saturation

R 82 of 255 = 32%
G 12 of 255 = 5%
B 108 of 255 = 42%

82
12
108

R + G + B ~ 26%. #520C6C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 12 + 108 = 202 (100%)
R 82 of 202 ~ 40.59%
G 12 of 202 ~ 5.94%
B 108 of 202 ~ 53.47%

%40.59
%53.47

CMYK color model

#520C6C color CMYK value is (24,89,0,58).

  • cyan value is 24.07%
  • magenta value is 88.89%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(24,89,0,58)
C24M89Y0K58 
(24%,89%,0%,58%)
(0.24/0.89/0.00/0.58)	

CMYK percentages

%24.07
%88.89
%0
%57.65

Codes

Color #520C6C in popluar color models

520C6C
RGB8212108
HSL284°80.00%23.53%
HSB/HSV284°88.89%42.35%
CMYK24.07%88.89%0.00%
57.65%

Color #520C6C in popluar number systems.

HEX520C6C
Decimal8212108
Binary101001011001101100
Octal12214154

Shades and tints

Shades of #520C6C

#520C6C
(82,12,108)
#4B0B63
(75,11,99)
#440A5A
(68,10,90)
#3D0951
(61,9,81)
#360848
(54,8,72)
#2F073F
(47,7,63)
#280636
(40,6,54)
#21052D
(33,5,45)
#1A0424
(26,4,36)
#13031B
(19,3,27)
#0C0212
(12,2,18)
#000000
(0,0,0)

Tints of #520C6C

#520C6C
(82,12,108)
#612279
(97,34,121)
#703886
(112,56,134)
#7F4E93
(127,78,147)
#8E64A0
(142,100,160)
#9D7AAD
(157,122,173)
#AC90BA
(172,144,186)
#BBA6C7
(187,166,199)
#CABCD4
(202,188,212)
#D9D2E1
(217,210,225)
#E8E8EE
(232,232,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C6C; }

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

This text font color is #520C6C.


Background Color

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

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

This div background color is #520C6C.


Border color

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

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

This div border color is #520C6C.


Opacity

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

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

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

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

This text has shadow with #520C6C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520C6C on black background.


Color preview on white background

This text has color #520C6C on white background.



Black color preview on #520C6C background

This text has black color on #520C6C background.


White color preview on #520C6C background

This text has white color on #520C6C background.