COLOR #5A4A9D

HEX: #5A4A9D
RGB: (90,74,157)

Color info

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

RGB color model

#5A4A9D color RGB value is (90,74,157).

  • red value is 90;
  • green value is 74;
  • blue value is 157.
RGB:
(90,74,157)
(35%,29%,62%)

RGB channels and saturation

R 90 of 255 = 35%
G 74 of 255 = 29%
B 157 of 255 = 62%

90
74
157

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

Portions of RGB colors in percentages

R + G + B =
90 + 74 + 157 = 321 (100%)
R 90 of 321 ~ 28.04%
G 74 of 321 ~ 23.05%
B 157 of 321 ~ 48.91%

%28.04
%23.05
%48.91

CMYK color model

#5A4A9D color CMYK value is (43,53,0,38).

  • cyan value is 42.68%
  • magenta value is 52.87%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(43,53,0,38)
C43M53Y0K38 
(43%,53%,0%,38%)
(0.43/0.53/0.00/0.38)	

CMYK percentages

%42.68
%52.87
%0
%38.43

Codes

Color #5A4A9D in popluar color models

5A4A9D
RGB9074157
HSL252°35.93%45.29%
HSB/HSV252°52.87%61.57%
CMYK42.68%52.87%0.00%
38.43%

Color #5A4A9D in popluar number systems.

HEX5A4A9D
Decimal9074157
Binary1011010100101010011101
Octal132112235

Shades and tints

Shades of #5A4A9D

#5A4A9D
(90,74,157)
#52448F
(82,68,143)
#4A3E81
(74,62,129)
#423873
(66,56,115)
#3A3265
(58,50,101)
#322C57
(50,44,87)
#2A2649
(42,38,73)
#22203B
(34,32,59)
#1A1A2D
(26,26,45)
#12141F
(18,20,31)
#0A0E11
(10,14,17)
#000000
(0,0,0)

Tints of #5A4A9D

#5A4A9D
(90,74,157)
#695AA5
(105,90,165)
#786AAD
(120,106,173)
#877AB5
(135,122,181)
#968ABD
(150,138,189)
#A59AC5
(165,154,197)
#B4AACD
(180,170,205)
#C3BAD5
(195,186,213)
#D2CADD
(210,202,221)
#E1DAE5
(225,218,229)
#F0EAED
(240,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4A9D color. Also use rgb(90,74,157) instead hex code.

Text Font Color

.myTextColor { color: #5A4A9D; }

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

This text font color is #5A4A9D.


Background Color

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

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

This div background color is #5A4A9D.


Border color

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

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

This div border color is #5A4A9D.


Opacity

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

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

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

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

This text has shadow with #5A4A9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4A9D on black background.


Color preview on white background

This text has color #5A4A9D on white background.



Black color preview on #5A4A9D background

This text has black color on #5A4A9D background.


White color preview on #5A4A9D background

This text has white color on #5A4A9D background.