COLOR #5A5271

HEX: #5A5271
RGB: (90,82,113)

Color info

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

RGB color model

#5A5271 color RGB value is (90,82,113).

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

RGB channels and saturation

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

90
82
113

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

Portions of RGB colors in percentages

R + G + B =
90 + 82 + 113 = 285 (100%)
R 90 of 285 ~ 31.58%
G 82 of 285 ~ 28.77%
B 113 of 285 ~ 39.65%

%31.58
%28.77
%39.65

CMYK color model

#5A5271 color CMYK value is (20,27,0,56).

  • cyan value is 20.35%
  • magenta value is 27.43%
  • yellow value is 0.00%
  • key color value is 55.69%
CMYK:
(20,27,0,56)
C20M27Y0K56 
(20%,27%,0%,56%)
(0.20/0.27/0.00/0.56)	

CMYK percentages

%20.35
%27.43
%0
%55.69

Codes

Color #5A5271 in popluar color models

5A5271
RGB9082113
HSL255°15.90%38.24%
HSB/HSV255°27.43%44.31%
CMYK20.35%27.43%0.00%
55.69%

Color #5A5271 in popluar number systems.

HEX5A5271
Decimal9082113
Binary101101010100101110001
Octal132122161

Shades and tints

Shades of #5A5271

#5A5271
(90,82,113)
#524B67
(82,75,103)
#4A445D
(74,68,93)
#423D53
(66,61,83)
#3A3649
(58,54,73)
#322F3F
(50,47,63)
#2A2835
(42,40,53)
#22212B
(34,33,43)
#1A1A21
(26,26,33)
#121317
(18,19,23)
#0A0C0D
(10,12,13)
#000000
(0,0,0)

Tints of #5A5271

#5A5271
(90,82,113)
#69617D
(105,97,125)
#787089
(120,112,137)
#877F95
(135,127,149)
#968EA1
(150,142,161)
#A59DAD
(165,157,173)
#B4ACB9
(180,172,185)
#C3BBC5
(195,187,197)
#D2CAD1
(210,202,209)
#E1D9DD
(225,217,221)
#F0E8E9
(240,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5271; }

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

This text font color is #5A5271.


Background Color

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

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

This div background color is #5A5271.


Border color

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

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

This div border color is #5A5271.


Opacity

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

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

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

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

This text has shadow with #5A5271 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5271 on black background.


Color preview on white background

This text has color #5A5271 on white background.



Black color preview on #5A5271 background

This text has black color on #5A5271 background.


White color preview on #5A5271 background

This text has white color on #5A5271 background.