COLOR #520666

HEX: #520666
RGB: (82,6,102)

Color info

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

RGB color model

#520666 color RGB value is (82,6,102).

  • red value is 82;
  • green value is 6;
  • blue value is 102.
RGB:
(82,6,102)
(32%,2%,40%)

RGB channels and saturation

R 82 of 255 = 32%
G 6 of 255 = 2%
B 102 of 255 = 40%

82
6
102

R + G + B ~ 25%. #520666 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 6 + 102 = 190 (100%)
R 82 of 190 ~ 43.16%
G 6 of 190 ~ 3.16%
B 102 of 190 ~ 53.68%

%43.16
%53.68

CMYK color model

#520666 color CMYK value is (20,94,0,60).

  • cyan value is 19.61%
  • magenta value is 94.12%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(20,94,0,60)
C20M94Y0K60 
(20%,94%,0%,60%)
(0.20/0.94/0.00/0.60)	

CMYK percentages

%19.61
%94.12
%0
%60

Codes

Color #520666 in popluar color models

520666
RGB826102
HSL288°88.89%21.18%
HSB/HSV288°94.12%40.00%
CMYK19.61%94.12%0.00%
60.00%

Color #520666 in popluar number systems.

HEX520666
Decimal826102
Binary10100101101100110
Octal1226146

Shades and tints

Shades of #520666

#520666
(82,6,102)
#4B065D
(75,6,93)
#440654
(68,6,84)
#3D064B
(61,6,75)
#360642
(54,6,66)
#2F0639
(47,6,57)
#280630
(40,6,48)
#210627
(33,6,39)
#1A061E
(26,6,30)
#130615
(19,6,21)
#0C060C
(12,6,12)
#000000
(0,0,0)

Tints of #520666

#520666
(82,6,102)
#611C73
(97,28,115)
#703280
(112,50,128)
#7F488D
(127,72,141)
#8E5E9A
(142,94,154)
#9D74A7
(157,116,167)
#AC8AB4
(172,138,180)
#BBA0C1
(187,160,193)
#CAB6CE
(202,182,206)
#D9CCDB
(217,204,219)
#E8E2E8
(232,226,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #520666 color. Also use rgb(82,6,102) instead hex code.

Text Font Color

.myTextColor { color: #520666; }

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

This text font color is #520666.


Background Color

.myBgColor { background-color: #520666; }

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

This div background color is #520666.


Border color

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

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

This div border color is #520666.


Opacity

.myOpacity80 { color: #520666; opacity: 0.8; }

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

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

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

This text has shadow with #520666 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520666 on black background.


Color preview on white background

This text has color #520666 on white background.



Black color preview on #520666 background

This text has black color on #520666 background.


White color preview on #520666 background

This text has white color on #520666 background.