COLOR #5A2052

HEX: #5A2052
RGB: (90,32,82)

Color info

#5A2052 contains red, green and blue colors in about the same proportion. Web safe color of #5A2052 is #663366 (or #636).

RGB color model

#5A2052 color RGB value is (90,32,82).

  • red value is 90;
  • green value is 32;
  • blue value is 82.
RGB:
(90,32,82)
(35%,13%,32%)

RGB channels and saturation

R 90 of 255 = 35%
G 32 of 255 = 13%
B 82 of 255 = 32%

90
32
82

R + G + B ~ 27%. #5A2052 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 32 + 82 = 204 (100%)
R 90 of 204 ~ 44.12%
G 32 of 204 ~ 15.69%
B 82 of 204 ~ 40.2%

%44.12
%15.69
%40.2

CMYK color model

#5A2052 color CMYK value is (0,64,9,65).

  • cyan value is 0.00%
  • magenta value is 64.44%
  • yellow value is 8.89%
  • key color value is 64.71%
CMYK:
(0,64,9,65)
C0M64Y9K65 
(0%,64%,9%,65%)
(0.00/0.64/0.09/0.65)	

CMYK percentages

%0
%64.44
%8.89
%64.71

Codes

Color #5A2052 in popluar color models

5A2052
RGB903282
HSL308°47.54%23.92%
HSB/HSV308°64.44%35.29%
CMYK0.00%64.44%8.89%
64.71%

Color #5A2052 in popluar number systems.

HEX5A2052
Decimal903282
Binary10110101000001010010
Octal13240122

Shades and tints

Shades of #5A2052

#5A2052
(90,32,82)
#521E4B
(82,30,75)
#4A1C44
(74,28,68)
#421A3D
(66,26,61)
#3A1836
(58,24,54)
#32162F
(50,22,47)
#2A1428
(42,20,40)
#221221
(34,18,33)
#1A101A
(26,16,26)
#120E13
(18,14,19)
#0A0C0C
(10,12,12)
#000000
(0,0,0)

Tints of #5A2052

#5A2052
(90,32,82)
#693461
(105,52,97)
#784870
(120,72,112)
#875C7F
(135,92,127)
#96708E
(150,112,142)
#A5849D
(165,132,157)
#B498AC
(180,152,172)
#C3ACBB
(195,172,187)
#D2C0CA
(210,192,202)
#E1D4D9
(225,212,217)
#F0E8E8
(240,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A2052; }

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

This text font color is #5A2052.


Background Color

.myBgColor { background-color: #5A2052; }

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

This div background color is #5A2052.


Border color

.myBorderColor { border: 1px solid #5A2052; }

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

This div border color is #5A2052.


Opacity

.myOpacity80 { color: #5A2052; opacity: 0.8; }

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

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

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

This text has shadow with #5A2052 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A2052 on black background.


Color preview on white background

This text has color #5A2052 on white background.



Black color preview on #5A2052 background

This text has black color on #5A2052 background.


White color preview on #5A2052 background

This text has white color on #5A2052 background.