COLOR #5A4970

HEX: #5A4970
RGB: (90,73,112)

Color info

#5A4970 contains red, green and blue colors in about the same proportion. Web safe color of #5A4970 is #663366 (or #636).

RGB color model

#5A4970 color RGB value is (90,73,112).

  • red value is 90;
  • green value is 73;
  • blue value is 112.
RGB: (90,73,112) (35%,29%,44%)

RGB channels and saturation

R 90 of 255 = 35%
G 73 of 255 = 29%
B 112 of 255 = 44%

90
73
112

R + G + B ~ 36%. #5A4970 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 73 + 112 = 275 (100%)
R 90 of 275 ~ 32.73%
G 73 of 275 ~ 26.55%
B 112 of 275 ~ 40.73%

%32.73
%26.55
%40.73

CMYK color model

#5A4970 color CMYK value is (20,35,0,56).

  • cyan value is 19.64%
  • magenta value is 34.82%
  • yellow value is 0.00%
  • key color value is 56.08%
CMYK: (20,35,0,56) C20M35Y0K56 (20%,35%,0%,56%) (0.20/0.35/0.00/0.56)

CMYK percentages

%19.64
%34.82
%0
%56.08

Codes

Color #5A4970 in popluar color models

5A4970
RGB9073112
HSL266°21.08%36.27%
HSB/HSV266°34.82%43.92%
CMYK19.64%34.82%0.00%
56.08%

Color #5A4970 in popluar number systems.

HEX5A4970
Decimal9073112
Binary101101010010011110000
Octal132111160

Shades and tints

Shades of #5A4970

#5A4970
(90,73,112)
#524366
(82,67,102)
#4A3D5C
(74,61,92)
#423752
(66,55,82)
#3A3148
(58,49,72)
#322B3E
(50,43,62)
#2A2534
(42,37,52)
#221F2A
(34,31,42)
#1A1920
(26,25,32)
#121316
(18,19,22)
#0A0D0C
(10,13,12)
#000000
(0,0,0)

Tints of #5A4970

#5A4970
(90,73,112)
#69597D
(105,89,125)
#78698A
(120,105,138)
#877997
(135,121,151)
#9689A4
(150,137,164)
#A599B1
(165,153,177)
#B4A9BE
(180,169,190)
#C3B9CB
(195,185,203)
#D2C9D8
(210,201,216)
#E1D9E5
(225,217,229)
#F0E9F2
(240,233,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4970 color. Also use rgb(90,73,112) instead hex code.

Text Font Color

.myTextColor { color: #5A4970; }

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

This text font color is #5A4970.


Background Color

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

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

This div background color is #5A4970.


Border color

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

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

This div border color is #5A4970.


Opacity

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

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

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

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

This text has shadow with #5A4970 color.

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

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

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


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

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

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


Div box shadow color

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

Preview

Color preview on black background

This text has color #5A4970 on black background.


Color preview on white background

This text has color #5A4970 on white background.



Black color preview on #5A4970 background

This text has black color on #5A4970 background.


White color preview on #5A4970 background

This text has white color on #5A4970 background.