COLOR #5A59A2

HEX: #5A59A2
RGB: (90,89,162)

Color info

#5A59A2 contains mainly blue color. Web safe color of #5A59A2 is #666699 (or #669).

RGB color model

#5A59A2 color RGB value is (90,89,162).

  • red value is 90;
  • green value is 89;
  • blue value is 162.
RGB:
(90,89,162)
(35%,35%,64%)

RGB channels and saturation

R 90 of 255 = 35%
G 89 of 255 = 35%
B 162 of 255 = 64%

90
89
162

R + G + B ~ 45%. #5A59A2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
90 + 89 + 162 = 341 (100%)
R 90 of 341 ~ 26.39%
G 89 of 341 ~ 26.1%
B 162 of 341 ~ 47.51%

%26.39
%26.1
%47.51

CMYK color model

#5A59A2 color CMYK value is (44,45,0,36).

  • cyan value is 44.44%
  • magenta value is 45.06%
  • yellow value is 0.00%
  • key color value is 36.47%
CMYK:
(44,45,0,36)
C44M45Y0K36 
(44%,45%,0%,36%)
(0.44/0.45/0.00/0.36)	

CMYK percentages

%44.44
%45.06
%0
%36.47

Codes

Color #5A59A2 in popluar color models

5A59A2
RGB9089162
HSL241°29.08%49.22%
HSB/HSV241°45.06%63.53%
CMYK44.44%45.06%0.00%
36.47%

Color #5A59A2 in popluar number systems.

HEX5A59A2
Decimal9089162
Binary1011010101100110100010
Octal132131242

Shades and tints

Shades of #5A59A2

#5A59A2
(90,89,162)
#525194
(82,81,148)
#4A4986
(74,73,134)
#424178
(66,65,120)
#3A396A
(58,57,106)
#32315C
(50,49,92)
#2A294E
(42,41,78)
#222140
(34,33,64)
#1A1932
(26,25,50)
#121124
(18,17,36)
#0A0916
(10,9,22)
#000000
(0,0,0)

Tints of #5A59A2

#5A59A2
(90,89,162)
#6968AA
(105,104,170)
#7877B2
(120,119,178)
#8786BA
(135,134,186)
#9695C2
(150,149,194)
#A5A4CA
(165,164,202)
#B4B3D2
(180,179,210)
#C3C2DA
(195,194,218)
#D2D1E2
(210,209,226)
#E1E0EA
(225,224,234)
#F0EFF2
(240,239,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A59A2 color. Also use rgb(90,89,162) instead hex code.

Text Font Color

.myTextColor { color: #5A59A2; }

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

This text font color is #5A59A2.


Background Color

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

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

This div background color is #5A59A2.


Border color

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

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

This div border color is #5A59A2.


Opacity

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

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

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

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

This text has shadow with #5A59A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A59A2 on black background.


Color preview on white background

This text has color #5A59A2 on white background.



Black color preview on #5A59A2 background

This text has black color on #5A59A2 background.


White color preview on #5A59A2 background

This text has white color on #5A59A2 background.