COLOR #5A5971

HEX: #5A5971
RGB: (90,89,113)

Color info

#5A5971 contains red, green and blue colors in about the same proportion. Web safe color of #5A5971 is #666666 (or #666).

RGB color model

#5A5971 color RGB value is (90,89,113).

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

RGB channels and saturation

R 90 of 255 = 35%
G 89 of 255 = 35%
B 113 of 255 = 44%

90
89
113

R + G + B ~ 38%. #5A5971 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 89 + 113 = 292 (100%)
R 90 of 292 ~ 30.82%
G 89 of 292 ~ 30.48%
B 113 of 292 ~ 38.7%

%30.82
%30.48
%38.7

CMYK color model

#5A5971 color CMYK value is (20,21,0,56).

  • cyan value is 20.35%
  • magenta value is 21.24%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(20,21,0,56)
C20M21Y0K56 
(20%,21%,0%,56%)
(0.20/0.21/0.00/0.56)	

CMYK percentages

%20.35
%21.24
%0
%55.69

Codes

Color #5A5971 in popluar color models

5A5971
RGB9089113
HSL243°11.88%39.61%
HSB/HSV243°21.24%44.31%
CMYK20.35%21.24%0.00%
55.69%

Color #5A5971 in popluar number systems.

HEX5A5971
Decimal9089113
Binary101101010110011110001
Octal132131161

Shades and tints

Shades of #5A5971

#5A5971
(90,89,113)
#525167
(82,81,103)
#4A495D
(74,73,93)
#424153
(66,65,83)
#3A3949
(58,57,73)
#32313F
(50,49,63)
#2A2935
(42,41,53)
#22212B
(34,33,43)
#1A1921
(26,25,33)
#121117
(18,17,23)
#0A090D
(10,9,13)
#000000
(0,0,0)

Tints of #5A5971

#5A5971
(90,89,113)
#69687D
(105,104,125)
#787789
(120,119,137)
#878695
(135,134,149)
#9695A1
(150,149,161)
#A5A4AD
(165,164,173)
#B4B3B9
(180,179,185)
#C3C2C5
(195,194,197)
#D2D1D1
(210,209,209)
#E1E0DD
(225,224,221)
#F0EFE9
(240,239,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5971; }

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

This text font color is #5A5971.


Background Color

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

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

This div background color is #5A5971.


Border color

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

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

This div border color is #5A5971.


Opacity

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

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

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

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

This text has shadow with #5A5971 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5971 on black background.


Color preview on white background

This text has color #5A5971 on white background.



Black color preview on #5A5971 background

This text has black color on #5A5971 background.


White color preview on #5A5971 background

This text has white color on #5A5971 background.