COLOR #5A579F

HEX: #5A579F
RGB: (90,87,159)

Color info

#5A579F contains mainly blue color. Web safe color of #5A579F is #666699 (or #669).

RGB color model

#5A579F color RGB value is (90,87,159).

  • red value is 90;
  • green value is 87;
  • blue value is 159.
RGB:
(90,87,159)
(35%,34%,62%)

RGB channels and saturation

R 90 of 255 = 35%
G 87 of 255 = 34%
B 159 of 255 = 62%

90
87
159

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

Portions of RGB colors in percentages

R + G + B =
90 + 87 + 159 = 336 (100%)
R 90 of 336 ~ 26.79%
G 87 of 336 ~ 25.89%
B 159 of 336 ~ 47.32%

%26.79
%25.89
%47.32

CMYK color model

#5A579F color CMYK value is (43,45,0,38).

  • cyan value is 43.40%
  • magenta value is 45.28%
  • yellow value is 0.00%
  • key color value is 37.65%
CMYK:
(43,45,0,38)
C43M45Y0K38 
(43%,45%,0%,38%)
(0.43/0.45/0.00/0.38)	

CMYK percentages

%43.4
%45.28
%0
%37.65

Codes

Color #5A579F in popluar color models

5A579F
RGB9087159
HSL243°29.27%48.24%
HSB/HSV243°45.28%62.35%
CMYK43.40%45.28%0.00%
37.65%

Color #5A579F in popluar number systems.

HEX5A579F
Decimal9087159
Binary1011010101011110011111
Octal132127237

Shades and tints

Shades of #5A579F

#5A579F
(90,87,159)
#525091
(82,80,145)
#4A4983
(74,73,131)
#424275
(66,66,117)
#3A3B67
(58,59,103)
#323459
(50,52,89)
#2A2D4B
(42,45,75)
#22263D
(34,38,61)
#1A1F2F
(26,31,47)
#121821
(18,24,33)
#0A1113
(10,17,19)
#000000
(0,0,0)

Tints of #5A579F

#5A579F
(90,87,159)
#6966A7
(105,102,167)
#7875AF
(120,117,175)
#8784B7
(135,132,183)
#9693BF
(150,147,191)
#A5A2C7
(165,162,199)
#B4B1CF
(180,177,207)
#C3C0D7
(195,192,215)
#D2CFDF
(210,207,223)
#E1DEE7
(225,222,231)
#F0EDEF
(240,237,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A579F color. Also use rgb(90,87,159) instead hex code.

Text Font Color

.myTextColor { color: #5A579F; }

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

This text font color is #5A579F.


Background Color

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

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

This div background color is #5A579F.


Border color

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

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

This div border color is #5A579F.


Opacity

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

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

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

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

This text has shadow with #5A579F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A579F on black background.


Color preview on white background

This text has color #5A579F on white background.



Black color preview on #5A579F background

This text has black color on #5A579F background.


White color preview on #5A579F background

This text has white color on #5A579F background.