COLOR #520546

HEX: #520546
RGB: (82,5,70)

Color info

#520546 contains mainly red and blue colors. Web safe color of #520546 is #660033 (or #603).

RGB color model

#520546 color RGB value is (82,5,70).

  • red value is 82;
  • green value is 5;
  • blue value is 70.
RGB:
(82,5,70)
(32%,2%,27%)

RGB channels and saturation

R 82 of 255 = 32%
G 5 of 255 = 2%
B 70 of 255 = 27%

82
5
70

R + G + B ~ 20%. #520546 is dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 5 + 70 = 157 (100%)
R 82 of 157 ~ 52.23%
G 5 of 157 ~ 3.18%
B 70 of 157 ~ 44.59%

%52.23
%44.59

CMYK color model

#520546 color CMYK value is (0,94,15,68).

  • cyan value is 0.00%
  • magenta value is 93.90%
  • yellow value is 14.63%
  • key color value is 67.84%
CMYK:
(0,94,15,68)
C0M94Y15K68 
(0%,94%,15%,68%)
(0.00/0.94/0.15/0.68)	

CMYK percentages

%0
%93.9
%14.63
%67.84

Codes

Color #520546 in popluar color models

520546
RGB82570
HSL309°88.51%17.06%
HSB/HSV309°93.90%32.16%
CMYK0.00%93.90%14.63%
67.84%

Color #520546 in popluar number systems.

HEX520546
Decimal82570
Binary10100101011000110
Octal1225106

Shades and tints

Shades of #520546

#520546
(82,5,70)
#4B0540
(75,5,64)
#44053A
(68,5,58)
#3D0534
(61,5,52)
#36052E
(54,5,46)
#2F0528
(47,5,40)
#280522
(40,5,34)
#21051C
(33,5,28)
#1A0516
(26,5,22)
#130510
(19,5,16)
#0C050A
(12,5,10)
#000000
(0,0,0)

Tints of #520546

#520546
(82,5,70)
#611B56
(97,27,86)
#703166
(112,49,102)
#7F4776
(127,71,118)
#8E5D86
(142,93,134)
#9D7396
(157,115,150)
#AC89A6
(172,137,166)
#BB9FB6
(187,159,182)
#CAB5C6
(202,181,198)
#D9CBD6
(217,203,214)
#E8E1E6
(232,225,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #520546 color. Also use rgb(82,5,70) instead hex code.

Text Font Color

.myTextColor { color: #520546; }

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

This text font color is #520546.


Background Color

.myBgColor { background-color: #520546; }

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

This div background color is #520546.


Border color

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

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

This div border color is #520546.


Opacity

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

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

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

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

This text has shadow with #520546 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #520546 on black background.


Color preview on white background

This text has color #520546 on white background.



Black color preview on #520546 background

This text has black color on #520546 background.


White color preview on #520546 background

This text has white color on #520546 background.