COLOR #520162

HEX: #520162
RGB: (82,1,98)

Color info

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

RGB color model

#520162 color RGB value is (82,1,98).

  • red value is 82;
  • green value is 1;
  • blue value is 98.
RGB:
(82,1,98)
(32%,0%,38%)

RGB channels and saturation

R 82 of 255 = 32%
G 1 of 255 = 0%
B 98 of 255 = 38%

82
1
98

R + G + B ~ 23%. #520162 is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 1 + 98 = 181 (100%)
R 82 of 181 ~ 45.3%
G 1 of 181 ~ 0.55%
B 98 of 181 ~ 54.14%

%45.3
%54.14

CMYK color model

#520162 color CMYK value is (16,99,0,62).

  • cyan value is 16.33%
  • magenta value is 98.98%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(16,99,0,62)
C16M99Y0K62 
(16%,99%,0%,62%)
(0.16/0.99/0.00/0.62)	

CMYK percentages

%16.33
%98.98
%0
%61.57

Codes

Color #520162 in popluar color models

520162
RGB82198
HSL290°97.98%19.41%
HSB/HSV290°98.98%38.43%
CMYK16.33%98.98%0.00%
61.57%

Color #520162 in popluar number systems.

HEX520162
Decimal82198
Binary101001011100010
Octal1221142

Shades and tints

Shades of #520162

#520162
(82,1,98)
#4B015A
(75,1,90)
#440152
(68,1,82)
#3D014A
(61,1,74)
#360142
(54,1,66)
#2F013A
(47,1,58)
#280132
(40,1,50)
#21012A
(33,1,42)
#1A0122
(26,1,34)
#13011A
(19,1,26)
#0C0112
(12,1,18)
#000000
(0,0,0)

Tints of #520162

#520162
(82,1,98)
#611870
(97,24,112)
#702F7E
(112,47,126)
#7F468C
(127,70,140)
#8E5D9A
(142,93,154)
#9D74A8
(157,116,168)
#AC8BB6
(172,139,182)
#BBA2C4
(187,162,196)
#CAB9D2
(202,185,210)
#D9D0E0
(217,208,224)
#E8E7EE
(232,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #520162 color. Also use rgb(82,1,98) instead hex code.

Text Font Color

.myTextColor { color: #520162; }

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

This text font color is #520162.


Background Color

.myBgColor { background-color: #520162; }

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

This div background color is #520162.


Border color

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

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

This div border color is #520162.


Opacity

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

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

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

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

This text has shadow with #520162 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520162 on black background.


Color preview on white background

This text has color #520162 on white background.



Black color preview on #520162 background

This text has black color on #520162 background.


White color preview on #520162 background

This text has white color on #520162 background.