COLOR #522766

HEX: #522766
RGB: (82,39,102)

Color info

#522766 contains mainly red and blue colors. Web safe color of #522766 is #663366 (or #636).

RGB color model

#522766 color RGB value is (82,39,102).

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

RGB channels and saturation

R 82 of 255 = 32%
G 39 of 255 = 15%
B 102 of 255 = 40%

82
39
102

R + G + B ~ 29%. #522766 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 39 + 102 = 223 (100%)
R 82 of 223 ~ 36.77%
G 39 of 223 ~ 17.49%
B 102 of 223 ~ 45.74%

%36.77
%17.49
%45.74

CMYK color model

#522766 color CMYK value is (20,62,0,60).

  • cyan value is 19.61%
  • magenta value is 61.76%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(20,62,0,60)
C20M62Y0K60 
(20%,62%,0%,60%)
(0.20/0.62/0.00/0.60)	

CMYK percentages

%19.61
%61.76
%0
%60

Codes

Color #522766 in popluar color models

522766
RGB8239102
HSL281°44.68%27.65%
HSB/HSV281°61.76%40.00%
CMYK19.61%61.76%0.00%
60.00%

Color #522766 in popluar number systems.

HEX522766
Decimal8239102
Binary10100101001111100110
Octal12247146

Shades and tints

Shades of #522766

#522766
(82,39,102)
#4B245D
(75,36,93)
#442154
(68,33,84)
#3D1E4B
(61,30,75)
#361B42
(54,27,66)
#2F1839
(47,24,57)
#281530
(40,21,48)
#211227
(33,18,39)
#1A0F1E
(26,15,30)
#130C15
(19,12,21)
#0C090C
(12,9,12)
#000000
(0,0,0)

Tints of #522766

#522766
(82,39,102)
#613A73
(97,58,115)
#704D80
(112,77,128)
#7F608D
(127,96,141)
#8E739A
(142,115,154)
#9D86A7
(157,134,167)
#AC99B4
(172,153,180)
#BBACC1
(187,172,193)
#CABFCE
(202,191,206)
#D9D2DB
(217,210,219)
#E8E5E8
(232,229,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522766; }

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

This text font color is #522766.


Background Color

.myBgColor { background-color: #522766; }

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

This div background color is #522766.


Border color

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

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

This div border color is #522766.


Opacity

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

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

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

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

This text has shadow with #522766 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #522766 on black background.


Color preview on white background

This text has color #522766 on white background.



Black color preview on #522766 background

This text has black color on #522766 background.


White color preview on #522766 background

This text has white color on #522766 background.