COLOR #5A4997

HEX: #5A4997
RGB: (90,73,151)

Color info

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

RGB color model

#5A4997 color RGB value is (90,73,151).

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

RGB channels and saturation

R 90 of 255 = 35%
G 73 of 255 = 29%
B 151 of 255 = 59%

90
73
151

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

Portions of RGB colors in percentages

R + G + B =
90 + 73 + 151 = 314 (100%)
R 90 of 314 ~ 28.66%
G 73 of 314 ~ 23.25%
B 151 of 314 ~ 48.09%

%28.66
%23.25
%48.09

CMYK color model

#5A4997 color CMYK value is (40,52,0,41).

  • cyan value is 40.40%
  • magenta value is 51.66%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(40,52,0,41)
C40M52Y0K41 
(40%,52%,0%,41%)
(0.40/0.52/0.00/0.41)	

CMYK percentages

%40.4
%51.66
%0
%40.78

Codes

Color #5A4997 in popluar color models

5A4997
RGB9073151
HSL253°34.82%43.92%
HSB/HSV253°51.66%59.22%
CMYK40.40%51.66%0.00%
40.78%

Color #5A4997 in popluar number systems.

HEX5A4997
Decimal9073151
Binary1011010100100110010111
Octal132111227

Shades and tints

Shades of #5A4997

#5A4997
(90,73,151)
#52438A
(82,67,138)
#4A3D7D
(74,61,125)
#423770
(66,55,112)
#3A3163
(58,49,99)
#322B56
(50,43,86)
#2A2549
(42,37,73)
#221F3C
(34,31,60)
#1A192F
(26,25,47)
#121322
(18,19,34)
#0A0D15
(10,13,21)
#000000
(0,0,0)

Tints of #5A4997

#5A4997
(90,73,151)
#6959A0
(105,89,160)
#7869A9
(120,105,169)
#8779B2
(135,121,178)
#9689BB
(150,137,187)
#A599C4
(165,153,196)
#B4A9CD
(180,169,205)
#C3B9D6
(195,185,214)
#D2C9DF
(210,201,223)
#E1D9E8
(225,217,232)
#F0E9F1
(240,233,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A4997; }

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

This text font color is #5A4997.


Background Color

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

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

This div background color is #5A4997.


Border color

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

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

This div border color is #5A4997.


Opacity

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

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

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

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

This text has shadow with #5A4997 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4997 on black background.


Color preview on white background

This text has color #5A4997 on white background.



Black color preview on #5A4997 background

This text has black color on #5A4997 background.


White color preview on #5A4997 background

This text has white color on #5A4997 background.