COLOR #5A558B

HEX: #5A558B RGB: (90,85,139)

Color info

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

RGB color model

#5A558B color RGB value is (90,85,139).

RGB: (90,85,139) (35%, 33%, 55%)

RGB channels and saturation

R 90 of 255 = 35%
G 85 of 255 = 33%
B 139 of 255 = 55%

90
85
139

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

Portions of RGB colors in percentages

R + G + B = 90 + 85 + 139 = 314 (100%)
R 90 of 314 ~ 28.66%
G 85 of 314 ~ 27.07%
B 139 of 314 ~ 44.27'%

%28.66
%27.07
%44.27

CMYK color model

#5A558B color CMYK value is (35,39,0,45).

  • cyan value is 35.25%
  • magenta value is 38.85%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (35,39,0,45)
C35M39Y0K45 (35%, 39%, 0%, 45%)
(0.35 / 0.39 / 0.00 / 0.45)

CMYK percentages

%35.25
%38.85
%0
%45.49

Codes

Color #5A558B in popluar color models

5A 55 8B
RGB 90 85 139
HSL 246° 24.11% 43.92%
HSB/HSV 246° 38.85% 54.51%
CMYK 35.25% 38.85% 0.00%
45.49%

Color #5A558B in popluar number systems.

HEX 5A 55 8B
Decimal 90 85 139
Binary 1011010 1010101 10001011
Octal 132 125 213

Shades and tints

Shades of #5A558B

#5A558B
(90,85,139)
#524E7F
(82,78,127)
#4A4773
(74,71,115)
#424067
(66,64,103)
#3A395B
(58,57,91)
#32324F
(50,50,79)
#2A2B43
(42,43,67)
#222437
(34,36,55)
#1A1D2B
(26,29,43)
#12161F
(18,22,31)
#0A0F13
(10,15,19)
#000000
(0,0,0)

Tints of #5A558B

#5A558B
(90,85,139)
#696495
(105,100,149)
#78739F
(120,115,159)
#8782A9
(135,130,169)
#9691B3
(150,145,179)
#A5A0BD
(165,160,189)
#B4AFC7
(180,175,199)
#C3BED1
(195,190,209)
#D2CDDB
(210,205,219)
#E1DCE5
(225,220,229)
#F0EBEF
(240,235,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A558B color. Also use rgb(90,85,139) instead hex code.

Text Font Color

.myTextColor { color: #5A558B; }

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

This text font color is #5A558B.

Background Color

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

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

This div background color is #5A558B.

Border color

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

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

This div border color is #5A558B.

Opacity

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

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

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

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

This text has shadow with #5A558B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A558B.

Preview

Color preview on black background

This text has color #5A558B on black background.


Color preview on white background

This text has color #5A558B on white background.


Black color preview on #5A558B background

This text has black color on #5A558B background.


White color preview on #5A558B background

This text has white color on #5A558B background.


Related colors

Complementary color

Complementary color for #hex is #A5AA74.


I love getcolorcode.com

Triadic colors

1 #8B5A55 and #558B5A with #5A558B are triadic colors.

2 #8B555A and #555A8B with #5A558B are triadic colors.