COLOR #5A4E87

HEX: #5A4E87
RGB: (90,78,135)

Color info

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

RGB color model

#5A4E87 color RGB value is (90,78,135).

  • red value is 90;
  • green value is 78;
  • blue value is 135.
RGB:
(90,78,135)
(35%,31%,53%)

RGB channels and saturation

R 90 of 255 = 35%
G 78 of 255 = 31%
B 135 of 255 = 53%

90
78
135

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

Portions of RGB colors in percentages

R + G + B =
90 + 78 + 135 = 303 (100%)
R 90 of 303 ~ 29.7%
G 78 of 303 ~ 25.74%
B 135 of 303 ~ 44.55%

%29.7
%25.74
%44.55

CMYK color model

#5A4E87 color CMYK value is (33,42,0,47).

  • cyan value is 33.33%
  • magenta value is 42.22%
  • yellow value is 0.00%
  • key color value is 47.06%
CMYK:
(33,42,0,47)
C33M42Y0K47 
(33%,42%,0%,47%)
(0.33/0.42/0.00/0.47)	

CMYK percentages

%33.33
%42.22
%0
%47.06

Codes

Color #5A4E87 in popluar color models

5A4E87
RGB9078135
HSL253°26.76%41.76%
HSB/HSV253°42.22%52.94%
CMYK33.33%42.22%0.00%
47.06%

Color #5A4E87 in popluar number systems.

HEX5A4E87
Decimal9078135
Binary1011010100111010000111
Octal132116207

Shades and tints

Shades of #5A4E87

#5A4E87
(90,78,135)
#52477B
(82,71,123)
#4A406F
(74,64,111)
#423963
(66,57,99)
#3A3257
(58,50,87)
#322B4B
(50,43,75)
#2A243F
(42,36,63)
#221D33
(34,29,51)
#1A1627
(26,22,39)
#120F1B
(18,15,27)
#0A080F
(10,8,15)
#000000
(0,0,0)

Tints of #5A4E87

#5A4E87
(90,78,135)
#695E91
(105,94,145)
#786E9B
(120,110,155)
#877EA5
(135,126,165)
#968EAF
(150,142,175)
#A59EB9
(165,158,185)
#B4AEC3
(180,174,195)
#C3BECD
(195,190,205)
#D2CED7
(210,206,215)
#E1DEE1
(225,222,225)
#F0EEEB
(240,238,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4E87 color. Also use rgb(90,78,135) instead hex code.

Text Font Color

.myTextColor { color: #5A4E87; }

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

This text font color is #5A4E87.


Background Color

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

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

This div background color is #5A4E87.


Border color

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

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

This div border color is #5A4E87.


Opacity

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

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

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

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

This text has shadow with #5A4E87 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4E87 on black background.


Color preview on white background

This text has color #5A4E87 on white background.



Black color preview on #5A4E87 background

This text has black color on #5A4E87 background.


White color preview on #5A4E87 background

This text has white color on #5A4E87 background.