COLOR #5A5891

HEX: #5A5891
RGB: (90,88,145)

Color info

#5A5891 contains red, green and blue colors in about the same proportion. Web safe color of #5A5891 is #666699 (or #669).

RGB color model

#5A5891 color RGB value is (90,88,145).

  • red value is 90;
  • green value is 88;
  • blue value is 145.
RGB:
(90,88,145)
(35%,35%,57%)

RGB channels and saturation

R 90 of 255 = 35%
G 88 of 255 = 35%
B 145 of 255 = 57%

90
88
145

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

Portions of RGB colors in percentages

R + G + B =
90 + 88 + 145 = 323 (100%)
R 90 of 323 ~ 27.86%
G 88 of 323 ~ 27.24%
B 145 of 323 ~ 44.89%

%27.86
%27.24
%44.89

CMYK color model

#5A5891 color CMYK value is (38,39,0,43).

  • cyan value is 37.93%
  • magenta value is 39.31%
  • yellow value is 0.00%
  • key color value is 43.14%
CMYK:
(38,39,0,43)
C38M39Y0K43 
(38%,39%,0%,43%)
(0.38/0.39/0.00/0.43)	

CMYK percentages

%37.93
%39.31
%0
%43.14

Codes

Color #5A5891 in popluar color models

5A5891
RGB9088145
HSL242°24.46%45.69%
HSB/HSV242°39.31%56.86%
CMYK37.93%39.31%0.00%
43.14%

Color #5A5891 in popluar number systems.

HEX5A5891
Decimal9088145
Binary1011010101100010010001
Octal132130221

Shades and tints

Shades of #5A5891

#5A5891
(90,88,145)
#525084
(82,80,132)
#4A4877
(74,72,119)
#42406A
(66,64,106)
#3A385D
(58,56,93)
#323050
(50,48,80)
#2A2843
(42,40,67)
#222036
(34,32,54)
#1A1829
(26,24,41)
#12101C
(18,16,28)
#0A080F
(10,8,15)
#000000
(0,0,0)

Tints of #5A5891

#5A5891
(90,88,145)
#69679B
(105,103,155)
#7876A5
(120,118,165)
#8785AF
(135,133,175)
#9694B9
(150,148,185)
#A5A3C3
(165,163,195)
#B4B2CD
(180,178,205)
#C3C1D7
(195,193,215)
#D2D0E1
(210,208,225)
#E1DFEB
(225,223,235)
#F0EEF5
(240,238,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5891 color. Also use rgb(90,88,145) instead hex code.

Text Font Color

.myTextColor { color: #5A5891; }

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

This text font color is #5A5891.


Background Color

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

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

This div background color is #5A5891.


Border color

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

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

This div border color is #5A5891.


Opacity

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

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

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

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

This text has shadow with #5A5891 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5891 on black background.


Color preview on white background

This text has color #5A5891 on white background.



Black color preview on #5A5891 background

This text has black color on #5A5891 background.


White color preview on #5A5891 background

This text has white color on #5A5891 background.