COLOR #5A597D

HEX: #5A597D
RGB: (90,89,125)

Color info

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

RGB color model

#5A597D color RGB value is (90,89,125).

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

RGB channels and saturation

R 90 of 255 = 35%
G 89 of 255 = 35%
B 125 of 255 = 49%

90
89
125

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

Portions of RGB colors in percentages

R + G + B =
90 + 89 + 125 = 304 (100%)
R 90 of 304 ~ 29.61%
G 89 of 304 ~ 29.28%
B 125 of 304 ~ 41.12%

%29.61
%29.28
%41.12

CMYK color model

#5A597D color CMYK value is (28,29,0,51).

  • cyan value is 28.00%
  • magenta value is 28.80%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(28,29,0,51)
C28M29Y0K51 
(28%,29%,0%,51%)
(0.28/0.29/0.00/0.51)	

CMYK percentages

%28
%28.8
%0
%50.98

Codes

Color #5A597D in popluar color models

5A597D
RGB9089125
HSL242°16.82%41.96%
HSB/HSV242°28.80%49.02%
CMYK28.00%28.80%0.00%
50.98%

Color #5A597D in popluar number systems.

HEX5A597D
Decimal9089125
Binary101101010110011111101
Octal132131175

Shades and tints

Shades of #5A597D

#5A597D
(90,89,125)
#525172
(82,81,114)
#4A4967
(74,73,103)
#42415C
(66,65,92)
#3A3951
(58,57,81)
#323146
(50,49,70)
#2A293B
(42,41,59)
#222130
(34,33,48)
#1A1925
(26,25,37)
#12111A
(18,17,26)
#0A090F
(10,9,15)
#000000
(0,0,0)

Tints of #5A597D

#5A597D
(90,89,125)
#696888
(105,104,136)
#787793
(120,119,147)
#87869E
(135,134,158)
#9695A9
(150,149,169)
#A5A4B4
(165,164,180)
#B4B3BF
(180,179,191)
#C3C2CA
(195,194,202)
#D2D1D5
(210,209,213)
#E1E0E0
(225,224,224)
#F0EFEB
(240,239,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A597D; }

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

This text font color is #5A597D.


Background Color

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

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

This div background color is #5A597D.


Border color

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

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

This div border color is #5A597D.


Opacity

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

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

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

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

This text has shadow with #5A597D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A597D on black background.


Color preview on white background

This text has color #5A597D on white background.



Black color preview on #5A597D background

This text has black color on #5A597D background.


White color preview on #5A597D background

This text has white color on #5A597D background.