COLOR #5A5B7D

HEX: #5A5B7D
RGB: (90,91,125)

Color info

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

RGB color model

#5A5B7D color RGB value is (90,91,125).

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

RGB channels and saturation

R 90 of 255 = 35%
G 91 of 255 = 36%
B 125 of 255 = 49%

90
91
125

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

Portions of RGB colors in percentages

R + G + B =
90 + 91 + 125 = 306 (100%)
R 90 of 306 ~ 29.41%
G 91 of 306 ~ 29.74%
B 125 of 306 ~ 40.85%

%29.41
%29.74
%40.85

CMYK color model

#5A5B7D color CMYK value is (28,27,0,51).

  • cyan value is 28.00%
  • magenta value is 27.20%
  • yellow value is 0.00%
  • key color value is 50.98%
CMYK:
(28,27,0,51)
C28M27Y0K51 
(28%,27%,0%,51%)
(0.28/0.27/0.00/0.51)	

CMYK percentages

%28
%27.2
%0
%50.98

Codes

Color #5A5B7D in popluar color models

5A5B7D
RGB9091125
HSL238°16.28%42.16%
HSB/HSV238°28.00%49.02%
CMYK28.00%27.20%0.00%
50.98%

Color #5A5B7D in popluar number systems.

HEX5A5B7D
Decimal9091125
Binary101101010110111111101
Octal132133175

Shades and tints

Shades of #5A5B7D

#5A5B7D
(90,91,125)
#525372
(82,83,114)
#4A4B67
(74,75,103)
#42435C
(66,67,92)
#3A3B51
(58,59,81)
#323346
(50,51,70)
#2A2B3B
(42,43,59)
#222330
(34,35,48)
#1A1B25
(26,27,37)
#12131A
(18,19,26)
#0A0B0F
(10,11,15)
#000000
(0,0,0)

Tints of #5A5B7D

#5A5B7D
(90,91,125)
#696988
(105,105,136)
#787793
(120,119,147)
#87859E
(135,133,158)
#9693A9
(150,147,169)
#A5A1B4
(165,161,180)
#B4AFBF
(180,175,191)
#C3BDCA
(195,189,202)
#D2CBD5
(210,203,213)
#E1D9E0
(225,217,224)
#F0E7EB
(240,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5B7D; }

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

This text font color is #5A5B7D.


Background Color

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

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

This div background color is #5A5B7D.


Border color

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

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

This div border color is #5A5B7D.


Opacity

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

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

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

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

This text has shadow with #5A5B7D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5B7D on black background.


Color preview on white background

This text has color #5A5B7D on white background.



Black color preview on #5A5B7D background

This text has black color on #5A5B7D background.


White color preview on #5A5B7D background

This text has white color on #5A5B7D background.