COLOR #520C6F

HEX: #520C6F
RGB: (82,12,111)

Color info

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

RGB color model

#520C6F color RGB value is (82,12,111).

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

RGB channels and saturation

R 82 of 255 = 32%
G 12 of 255 = 5%
B 111 of 255 = 44%

82
12
111

R + G + B ~ 27%. #520C6F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 12 + 111 = 205 (100%)
R 82 of 205 ~ 40%
G 12 of 205 ~ 5.85%
B 111 of 205 ~ 54.15%

%40
%54.15

CMYK color model

#520C6F color CMYK value is (26,89,0,56).

  • cyan value is 26.13%
  • magenta value is 89.19%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(26,89,0,56)
C26M89Y0K56 
(26%,89%,0%,56%)
(0.26/0.89/0.00/0.56)	

CMYK percentages

%26.13
%89.19
%0
%56.47

Codes

Color #520C6F in popluar color models

520C6F
RGB8212111
HSL282°80.49%24.12%
HSB/HSV282°89.19%43.53%
CMYK26.13%89.19%0.00%
56.47%

Color #520C6F in popluar number systems.

HEX520C6F
Decimal8212111
Binary101001011001101111
Octal12214157

Shades and tints

Shades of #520C6F

#520C6F
(82,12,111)
#4B0B65
(75,11,101)
#440A5B
(68,10,91)
#3D0951
(61,9,81)
#360847
(54,8,71)
#2F073D
(47,7,61)
#280633
(40,6,51)
#210529
(33,5,41)
#1A041F
(26,4,31)
#130315
(19,3,21)
#0C020B
(12,2,11)
#000000
(0,0,0)

Tints of #520C6F

#520C6F
(82,12,111)
#61227C
(97,34,124)
#703889
(112,56,137)
#7F4E96
(127,78,150)
#8E64A3
(142,100,163)
#9D7AB0
(157,122,176)
#AC90BD
(172,144,189)
#BBA6CA
(187,166,202)
#CABCD7
(202,188,215)
#D9D2E4
(217,210,228)
#E8E8F1
(232,232,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520C6F; }

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

This text font color is #520C6F.


Background Color

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

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

This div background color is #520C6F.


Border color

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

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

This div border color is #520C6F.


Opacity

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

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

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

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

This text has shadow with #520C6F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520C6F on black background.


Color preview on white background

This text has color #520C6F on white background.



Black color preview on #520C6F background

This text has black color on #520C6F background.


White color preview on #520C6F background

This text has white color on #520C6F background.