COLOR #522666

HEX: #522666
RGB: (82,38,102)

Color info

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

RGB color model

#522666 color RGB value is (82,38,102).

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

RGB channels and saturation

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

82
38
102

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

Portions of RGB colors in percentages

R + G + B =
82 + 38 + 102 = 222 (100%)
R 82 of 222 ~ 36.94%
G 38 of 222 ~ 17.12%
B 102 of 222 ~ 45.95%

%36.94
%17.12
%45.95

CMYK color model

#522666 color CMYK value is (20,63,0,60).

  • cyan value is 19.61%
  • magenta value is 62.75%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(20,63,0,60)
C20M63Y0K60 
(20%,63%,0%,60%)
(0.20/0.63/0.00/0.60)	

CMYK percentages

%19.61
%62.75
%0
%60

Codes

Color #522666 in popluar color models

522666
RGB8238102
HSL281°45.71%27.45%
HSB/HSV281°62.75%40.00%
CMYK19.61%62.75%0.00%
60.00%

Color #522666 in popluar number systems.

HEX522666
Decimal8238102
Binary10100101001101100110
Octal12246146

Shades and tints

Shades of #522666

#522666
(82,38,102)
#4B235D
(75,35,93)
#442054
(68,32,84)
#3D1D4B
(61,29,75)
#361A42
(54,26,66)
#2F1739
(47,23,57)
#281430
(40,20,48)
#211127
(33,17,39)
#1A0E1E
(26,14,30)
#130B15
(19,11,21)
#0C080C
(12,8,12)
#000000
(0,0,0)

Tints of #522666

#522666
(82,38,102)
#613973
(97,57,115)
#704C80
(112,76,128)
#7F5F8D
(127,95,141)
#8E729A
(142,114,154)
#9D85A7
(157,133,167)
#AC98B4
(172,152,180)
#BBABC1
(187,171,193)
#CABECE
(202,190,206)
#D9D1DB
(217,209,219)
#E8E4E8
(232,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #522666; }

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

This text font color is #522666.


Background Color

.myBgColor { background-color: #522666; }

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

This div background color is #522666.


Border color

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

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

This div border color is #522666.


Opacity

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

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

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

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

This text has shadow with #522666 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #522666 on black background.


Color preview on white background

This text has color #522666 on white background.



Black color preview on #522666 background

This text has black color on #522666 background.


White color preview on #522666 background

This text has white color on #522666 background.