COLOR #5A5C81

HEX: #5A5C81
RGB: (90,92,129)

Color info

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

RGB color model

#5A5C81 color RGB value is (90,92,129).

  • red value is 90;
  • green value is 92;
  • blue value is 129.
RGB:
(90,92,129)
(35%,36%,51%)

RGB channels and saturation

R 90 of 255 = 35%
G 92 of 255 = 36%
B 129 of 255 = 51%

90
92
129

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

Portions of RGB colors in percentages

R + G + B =
90 + 92 + 129 = 311 (100%)
R 90 of 311 ~ 28.94%
G 92 of 311 ~ 29.58%
B 129 of 311 ~ 41.48%

%28.94
%29.58
%41.48

CMYK color model

#5A5C81 color CMYK value is (30,29,0,49).

  • cyan value is 30.23%
  • magenta value is 28.68%
  • yellow value is 0.00%
  • key color value is 49.41%
CMYK:
(30,29,0,49)
C30M29Y0K49 
(30%,29%,0%,49%)
(0.30/0.29/0.00/0.49)	

CMYK percentages

%30.23
%28.68
%0
%49.41

Codes

Color #5A5C81 in popluar color models

5A5C81
RGB9092129
HSL237°17.81%42.94%
HSB/HSV237°30.23%50.59%
CMYK30.23%28.68%0.00%
49.41%

Color #5A5C81 in popluar number systems.

HEX5A5C81
Decimal9092129
Binary1011010101110010000001
Octal132134201

Shades and tints

Shades of #5A5C81

#5A5C81
(90,92,129)
#525476
(82,84,118)
#4A4C6B
(74,76,107)
#424460
(66,68,96)
#3A3C55
(58,60,85)
#32344A
(50,52,74)
#2A2C3F
(42,44,63)
#222434
(34,36,52)
#1A1C29
(26,28,41)
#12141E
(18,20,30)
#0A0C13
(10,12,19)
#000000
(0,0,0)

Tints of #5A5C81

#5A5C81
(90,92,129)
#696A8C
(105,106,140)
#787897
(120,120,151)
#8786A2
(135,134,162)
#9694AD
(150,148,173)
#A5A2B8
(165,162,184)
#B4B0C3
(180,176,195)
#C3BECE
(195,190,206)
#D2CCD9
(210,204,217)
#E1DAE4
(225,218,228)
#F0E8EF
(240,232,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5C81 color. Also use rgb(90,92,129) instead hex code.

Text Font Color

.myTextColor { color: #5A5C81; }

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

This text font color is #5A5C81.


Background Color

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

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

This div background color is #5A5C81.


Border color

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

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

This div border color is #5A5C81.


Opacity

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

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

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

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

This text has shadow with #5A5C81 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5C81 on black background.


Color preview on white background

This text has color #5A5C81 on white background.



Black color preview on #5A5C81 background

This text has black color on #5A5C81 background.


White color preview on #5A5C81 background

This text has white color on #5A5C81 background.