COLOR #5A4796

HEX: #5A4796
RGB: (90,71,150)

Color info

#5A4796 contains mainly blue color. Web safe color of #5A4796 is #663399 (or #639).

RGB color model

#5A4796 color RGB value is (90,71,150).

  • red value is 90;
  • green value is 71;
  • blue value is 150.
RGB:
(90,71,150)
(35%,28%,59%)

RGB channels and saturation

R 90 of 255 = 35%
G 71 of 255 = 28%
B 150 of 255 = 59%

90
71
150

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

Portions of RGB colors in percentages

R + G + B =
90 + 71 + 150 = 311 (100%)
R 90 of 311 ~ 28.94%
G 71 of 311 ~ 22.83%
B 150 of 311 ~ 48.23%

%28.94
%22.83
%48.23

CMYK color model

#5A4796 color CMYK value is (40,53,0,41).

  • cyan value is 40.00%
  • magenta value is 52.67%
  • yellow value is 0.00%
  • key color value is 41.18%
CMYK:
(40,53,0,41)
C40M53Y0K41 
(40%,53%,0%,41%)
(0.40/0.53/0.00/0.41)	

CMYK percentages

%40
%52.67
%0
%41.18

Codes

Color #5A4796 in popluar color models

5A4796
RGB9071150
HSL254°35.75%43.33%
HSB/HSV254°52.67%58.82%
CMYK40.00%52.67%0.00%
41.18%

Color #5A4796 in popluar number systems.

HEX5A4796
Decimal9071150
Binary1011010100011110010110
Octal132107226

Shades and tints

Shades of #5A4796

#5A4796
(90,71,150)
#524189
(82,65,137)
#4A3B7C
(74,59,124)
#42356F
(66,53,111)
#3A2F62
(58,47,98)
#322955
(50,41,85)
#2A2348
(42,35,72)
#221D3B
(34,29,59)
#1A172E
(26,23,46)
#121121
(18,17,33)
#0A0B14
(10,11,20)
#000000
(0,0,0)

Tints of #5A4796

#5A4796
(90,71,150)
#69579F
(105,87,159)
#7867A8
(120,103,168)
#8777B1
(135,119,177)
#9687BA
(150,135,186)
#A597C3
(165,151,195)
#B4A7CC
(180,167,204)
#C3B7D5
(195,183,213)
#D2C7DE
(210,199,222)
#E1D7E7
(225,215,231)
#F0E7F0
(240,231,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4796 color. Also use rgb(90,71,150) instead hex code.

Text Font Color

.myTextColor { color: #5A4796; }

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

This text font color is #5A4796.


Background Color

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

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

This div background color is #5A4796.


Border color

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

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

This div border color is #5A4796.


Opacity

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

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

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

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

This text has shadow with #5A4796 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4796 on black background.


Color preview on white background

This text has color #5A4796 on white background.



Black color preview on #5A4796 background

This text has black color on #5A4796 background.


White color preview on #5A4796 background

This text has white color on #5A4796 background.