COLOR #5A5171

HEX: #5A5171
RGB: (90,81,113)

Color info

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

RGB color model

#5A5171 color RGB value is (90,81,113).

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

RGB channels and saturation

R 90 of 255 = 35%
G 81 of 255 = 32%
B 113 of 255 = 44%

90
81
113

R + G + B ~ 37%. #5A5171 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 81 + 113 = 284 (100%)
R 90 of 284 ~ 31.69%
G 81 of 284 ~ 28.52%
B 113 of 284 ~ 39.79%

%31.69
%28.52
%39.79

CMYK color model

#5A5171 color CMYK value is (20,28,0,56).

  • cyan value is 20.35%
  • magenta value is 28.32%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(20,28,0,56)
C20M28Y0K56 
(20%,28%,0%,56%)
(0.20/0.28/0.00/0.56)	

CMYK percentages

%20.35
%28.32
%0
%55.69

Codes

Color #5A5171 in popluar color models

5A5171
RGB9081113
HSL257°16.49%38.04%
HSB/HSV257°28.32%44.31%
CMYK20.35%28.32%0.00%
55.69%

Color #5A5171 in popluar number systems.

HEX5A5171
Decimal9081113
Binary101101010100011110001
Octal132121161

Shades and tints

Shades of #5A5171

#5A5171
(90,81,113)
#524A67
(82,74,103)
#4A435D
(74,67,93)
#423C53
(66,60,83)
#3A3549
(58,53,73)
#322E3F
(50,46,63)
#2A2735
(42,39,53)
#22202B
(34,32,43)
#1A1921
(26,25,33)
#121217
(18,18,23)
#0A0B0D
(10,11,13)
#000000
(0,0,0)

Tints of #5A5171

#5A5171
(90,81,113)
#69607D
(105,96,125)
#786F89
(120,111,137)
#877E95
(135,126,149)
#968DA1
(150,141,161)
#A59CAD
(165,156,173)
#B4ABB9
(180,171,185)
#C3BAC5
(195,186,197)
#D2C9D1
(210,201,209)
#E1D8DD
(225,216,221)
#F0E7E9
(240,231,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5171; }

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

This text font color is #5A5171.


Background Color

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

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

This div background color is #5A5171.


Border color

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

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

This div border color is #5A5171.


Opacity

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

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

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

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

This text has shadow with #5A5171 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5171 on black background.


Color preview on white background

This text has color #5A5171 on white background.



Black color preview on #5A5171 background

This text has black color on #5A5171 background.


White color preview on #5A5171 background

This text has white color on #5A5171 background.