COLOR #5A5789

HEX: #5A5789 RGB: (90,87,137)

Color info

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

RGB color model

#5A5789 color RGB value is (90,87,137).

RGB: (90,87,137) (35%, 34%, 54%)

RGB channels and saturation

R 90 of 255 = 35%
G 87 of 255 = 34%
B 137 of 255 = 54%

90
87
137

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

Portions of RGB colors in percentages

R + G + B = 90 + 87 + 137 = 314 (100%)
R 90 of 314 ~ 28.66%
G 87 of 314 ~ 27.71%
B 137 of 314 ~ 43.63'%

%28.66
%27.71
%43.63

CMYK color model

#5A5789 color CMYK value is (34,36,0,46).

  • cyan value is 34.31%
  • magenta value is 36.50%
  • yellow value is 0.00%
  • key color value is 46.27%

CMYK: (34,36,0,46)
C34M36Y0K46 (34%, 36%, 0%, 46%)
(0.34 / 0.36 / 0.00 / 0.46)

CMYK percentages

%34.31
%36.5
%0
%46.27

Codes

Color #5A5789 in popluar color models

5A 57 89
RGB 90 87 137
HSL 244° 22.32% 43.92%
HSB/HSV 244° 36.50% 53.73%
CMYK 34.31% 36.50% 0.00%
46.27%

Color #5A5789 in popluar number systems.

HEX 5A 57 89
Decimal 90 87 137
Binary 1011010 1010111 10001001
Octal 132 127 211

Shades and tints

Shades of #5A5789

#5A5789
(90,87,137)
#52507D
(82,80,125)
#4A4971
(74,73,113)
#424265
(66,66,101)
#3A3B59
(58,59,89)
#32344D
(50,52,77)
#2A2D41
(42,45,65)
#222635
(34,38,53)
#1A1F29
(26,31,41)
#12181D
(18,24,29)
#0A1111
(10,17,17)
#000000
(0,0,0)

Tints of #5A5789

#5A5789
(90,87,137)
#696693
(105,102,147)
#78759D
(120,117,157)
#8784A7
(135,132,167)
#9693B1
(150,147,177)
#A5A2BB
(165,162,187)
#B4B1C5
(180,177,197)
#C3C0CF
(195,192,207)
#D2CFD9
(210,207,217)
#E1DEE3
(225,222,227)
#F0EDED
(240,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5789 color. Also use rgb(90,87,137) instead hex code.

Text Font Color

.myTextColor { color: #5A5789; }

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

This text font color is #5A5789.

Background Color

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

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

This div background color is #5A5789.

Border color

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

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

This div border color is #5A5789.

Opacity

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

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

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

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

This text has shadow with #5A5789 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5789.

Preview

Color preview on black background

This text has color #5A5789 on black background.


Color preview on white background

This text has color #5A5789 on white background.


Black color preview on #5A5789 background

This text has black color on #5A5789 background.


White color preview on #5A5789 background

This text has white color on #5A5789 background.


Related colors

Complementary color

Complementary color for #hex is #A5A876.


I love getcolorcode.com

Triadic colors

1 #895A57 and #57895A with #5A5789 are triadic colors.

2 #89575A and #575A89 with #5A5789 are triadic colors.