COLOR #520158

HEX: #520158
RGB: (82,1,88)

Color info

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

RGB color model

#520158 color RGB value is (82,1,88).

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

RGB channels and saturation

R 82 of 255 = 32%
G 1 of 255 = 0%
B 88 of 255 = 35%

82
1
88

R + G + B ~ 22%. #520158 is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 1 + 88 = 171 (100%)
R 82 of 171 ~ 47.95%
G 1 of 171 ~ 0.58%
B 88 of 171 ~ 51.46%

%47.95
%51.46

CMYK color model

#520158 color CMYK value is (7,99,0,65).

  • cyan value is 6.82%
  • magenta value is 98.86%
  • yellow value is 0.00%
  • key color value is 65.49%
CMYK:
(7,99,0,65)
C7M99Y0K65 
(7%,99%,0%,65%)
(0.07/0.99/0.00/0.65)	

CMYK percentages

%6.82
%98.86
%0
%65.49

Codes

Color #520158 in popluar color models

520158
RGB82188
HSL296°97.75%17.45%
HSB/HSV296°98.86%34.51%
CMYK6.82%98.86%0.00%
65.49%

Color #520158 in popluar number systems.

HEX520158
Decimal82188
Binary101001011011000
Octal1221130

Shades and tints

Shades of #520158

#520158
(82,1,88)
#4B0150
(75,1,80)
#440148
(68,1,72)
#3D0140
(61,1,64)
#360138
(54,1,56)
#2F0130
(47,1,48)
#280128
(40,1,40)
#210120
(33,1,32)
#1A0118
(26,1,24)
#130110
(19,1,16)
#0C0108
(12,1,8)
#000000
(0,0,0)

Tints of #520158

#520158
(82,1,88)
#611867
(97,24,103)
#702F76
(112,47,118)
#7F4685
(127,70,133)
#8E5D94
(142,93,148)
#9D74A3
(157,116,163)
#AC8BB2
(172,139,178)
#BBA2C1
(187,162,193)
#CAB9D0
(202,185,208)
#D9D0DF
(217,208,223)
#E8E7EE
(232,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #520158; }

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

This text font color is #520158.


Background Color

.myBgColor { background-color: #520158; }

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

This div background color is #520158.


Border color

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

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

This div border color is #520158.


Opacity

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

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

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

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

This text has shadow with #520158 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520158 on black background.


Color preview on white background

This text has color #520158 on white background.



Black color preview on #520158 background

This text has black color on #520158 background.


White color preview on #520158 background

This text has white color on #520158 background.