COLOR #522161

HEX: #522161
RGB: (82,33,97)

Color info

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

RGB color model

#522161 color RGB value is (82,33,97).

  • red value is 82;
  • green value is 33;
  • blue value is 97.
RGB:
(82,33,97)
(32%,13%,38%)

RGB channels and saturation

R 82 of 255 = 32%
G 33 of 255 = 13%
B 97 of 255 = 38%

82
33
97

R + G + B ~ 28%. #522161 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 33 + 97 = 212 (100%)
R 82 of 212 ~ 38.68%
G 33 of 212 ~ 15.57%
B 97 of 212 ~ 45.75%

%38.68
%15.57
%45.75

CMYK color model

#522161 color CMYK value is (15,66,0,62).

  • cyan value is 15.46%
  • magenta value is 65.98%
  • yellow value is 0.00%
  • key color value is 61.96%
CMYK:
(15,66,0,62)
C15M66Y0K62 
(15%,66%,0%,62%)
(0.15/0.66/0.00/0.62)	

CMYK percentages

%15.46
%65.98
%0
%61.96

Codes

Color #522161 in popluar color models

522161
RGB823397
HSL286°49.23%25.49%
HSB/HSV286°65.98%38.04%
CMYK15.46%65.98%0.00%
61.96%

Color #522161 in popluar number systems.

HEX522161
Decimal823397
Binary10100101000011100001
Octal12241141

Shades and tints

Shades of #522161

#522161
(82,33,97)
#4B1E59
(75,30,89)
#441B51
(68,27,81)
#3D1849
(61,24,73)
#361541
(54,21,65)
#2F1239
(47,18,57)
#280F31
(40,15,49)
#210C29
(33,12,41)
#1A0921
(26,9,33)
#130619
(19,6,25)
#0C0311
(12,3,17)
#000000
(0,0,0)

Tints of #522161

#522161
(82,33,97)
#61356F
(97,53,111)
#70497D
(112,73,125)
#7F5D8B
(127,93,139)
#8E7199
(142,113,153)
#9D85A7
(157,133,167)
#AC99B5
(172,153,181)
#BBADC3
(187,173,195)
#CAC1D1
(202,193,209)
#D9D5DF
(217,213,223)
#E8E9ED
(232,233,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #522161 color. Also use rgb(82,33,97) instead hex code.

Text Font Color

.myTextColor { color: #522161; }

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

This text font color is #522161.


Background Color

.myBgColor { background-color: #522161; }

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

This div background color is #522161.


Border color

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

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

This div border color is #522161.


Opacity

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

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

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

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

This text has shadow with #522161 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #522161 on black background.


Color preview on white background

This text has color #522161 on white background.



Black color preview on #522161 background

This text has black color on #522161 background.


White color preview on #522161 background

This text has white color on #522161 background.