COLOR #522868

HEX: #522868
RGB: (82,40,104)

Color info

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

RGB color model

#522868 color RGB value is (82,40,104).

  • red value is 82;
  • green value is 40;
  • blue value is 104.
RGB:
(82,40,104)
(32%,16%,41%)

RGB channels and saturation

R 82 of 255 = 32%
G 40 of 255 = 16%
B 104 of 255 = 41%

82
40
104

R + G + B ~ 30%. #522868 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
82 + 40 + 104 = 226 (100%)
R 82 of 226 ~ 36.28%
G 40 of 226 ~ 17.7%
B 104 of 226 ~ 46.02%

%36.28
%17.7
%46.02

CMYK color model

#522868 color CMYK value is (21,62,0,59).

  • cyan value is 21.15%
  • magenta value is 61.54%
  • yellow value is 0.00%
  • key color value is 59.22%
CMYK:
(21,62,0,59)
C21M62Y0K59 
(21%,62%,0%,59%)
(0.21/0.62/0.00/0.59)	

CMYK percentages

%21.15
%61.54
%0
%59.22

Codes

Color #522868 in popluar color models

522868
RGB8240104
HSL279°44.44%28.24%
HSB/HSV279°61.54%40.78%
CMYK21.15%61.54%0.00%
59.22%

Color #522868 in popluar number systems.

HEX522868
Decimal8240104
Binary10100101010001101000
Octal12250150

Shades and tints

Shades of #522868

#522868
(82,40,104)
#4B255F
(75,37,95)
#442256
(68,34,86)
#3D1F4D
(61,31,77)
#361C44
(54,28,68)
#2F193B
(47,25,59)
#281632
(40,22,50)
#211329
(33,19,41)
#1A1020
(26,16,32)
#130D17
(19,13,23)
#0C0A0E
(12,10,14)
#000000
(0,0,0)

Tints of #522868

#522868
(82,40,104)
#613B75
(97,59,117)
#704E82
(112,78,130)
#7F618F
(127,97,143)
#8E749C
(142,116,156)
#9D87A9
(157,135,169)
#AC9AB6
(172,154,182)
#BBADC3
(187,173,195)
#CAC0D0
(202,192,208)
#D9D3DD
(217,211,221)
#E8E6EA
(232,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #522868 color. Also use rgb(82,40,104) instead hex code.

Text Font Color

.myTextColor { color: #522868; }

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

This text font color is #522868.


Background Color

.myBgColor { background-color: #522868; }

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

This div background color is #522868.


Border color

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

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

This div border color is #522868.


Opacity

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

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

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

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

This text has shadow with #522868 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #522868 on black background.


Color preview on white background

This text has color #522868 on white background.



Black color preview on #522868 background

This text has black color on #522868 background.


White color preview on #522868 background

This text has white color on #522868 background.