COLOR #5A5E8D

HEX: #5A5E8D
RGB: (90,94,141)

Color info

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

RGB color model

#5A5E8D color RGB value is (90,94,141).

  • red value is 90;
  • green value is 94;
  • blue value is 141.
RGB:
(90,94,141)
(35%,37%,55%)

RGB channels and saturation

R 90 of 255 = 35%
G 94 of 255 = 37%
B 141 of 255 = 55%

90
94
141

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

Portions of RGB colors in percentages

R + G + B =
90 + 94 + 141 = 325 (100%)
R 90 of 325 ~ 27.69%
G 94 of 325 ~ 28.92%
B 141 of 325 ~ 43.38%

%27.69
%28.92
%43.38

CMYK color model

#5A5E8D color CMYK value is (36,33,0,45).

  • cyan value is 36.17%
  • magenta value is 33.33%
  • yellow value is 0.00%
  • key color value is 44.71%
CMYK:
(36,33,0,45)
C36M33Y0K45 
(36%,33%,0%,45%)
(0.36/0.33/0.00/0.45)	

CMYK percentages

%36.17
%33.33
%0
%44.71

Codes

Color #5A5E8D in popluar color models

5A5E8D
RGB9094141
HSL235°22.08%45.29%
HSB/HSV235°36.17%55.29%
CMYK36.17%33.33%0.00%
44.71%

Color #5A5E8D in popluar number systems.

HEX5A5E8D
Decimal9094141
Binary1011010101111010001101
Octal132136215

Shades and tints

Shades of #5A5E8D

#5A5E8D
(90,94,141)
#525681
(82,86,129)
#4A4E75
(74,78,117)
#424669
(66,70,105)
#3A3E5D
(58,62,93)
#323651
(50,54,81)
#2A2E45
(42,46,69)
#222639
(34,38,57)
#1A1E2D
(26,30,45)
#121621
(18,22,33)
#0A0E15
(10,14,21)
#000000
(0,0,0)

Tints of #5A5E8D

#5A5E8D
(90,94,141)
#696C97
(105,108,151)
#787AA1
(120,122,161)
#8788AB
(135,136,171)
#9696B5
(150,150,181)
#A5A4BF
(165,164,191)
#B4B2C9
(180,178,201)
#C3C0D3
(195,192,211)
#D2CEDD
(210,206,221)
#E1DCE7
(225,220,231)
#F0EAF1
(240,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5E8D color. Also use rgb(90,94,141) instead hex code.

Text Font Color

.myTextColor { color: #5A5E8D; }

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

This text font color is #5A5E8D.


Background Color

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

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

This div background color is #5A5E8D.


Border color

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

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

This div border color is #5A5E8D.


Opacity

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

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

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

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

This text has shadow with #5A5E8D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5E8D on black background.


Color preview on white background

This text has color #5A5E8D on white background.



Black color preview on #5A5E8D background

This text has black color on #5A5E8D background.


White color preview on #5A5E8D background

This text has white color on #5A5E8D background.