COLOR #5A4A8B

HEX: #5A4A8B
RGB: (90,74,139)

Color info

#5A4A8B contains mainly red and blue colors. Web safe color of #5A4A8B is #663399 (or #639).

RGB color model

#5A4A8B color RGB value is (90,74,139).

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

RGB channels and saturation

R 90 of 255 = 35%
G 74 of 255 = 29%
B 139 of 255 = 55%

90
74
139

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

Portions of RGB colors in percentages

R + G + B =
90 + 74 + 139 = 303 (100%)
R 90 of 303 ~ 29.7%
G 74 of 303 ~ 24.42%
B 139 of 303 ~ 45.87%

%29.7
%24.42
%45.87

CMYK color model

#5A4A8B color CMYK value is (35,47,0,45).

  • cyan value is 35.25%
  • magenta value is 46.76%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(35,47,0,45)
C35M47Y0K45 
(35%,47%,0%,45%)
(0.35/0.47/0.00/0.45)	

CMYK percentages

%35.25
%46.76
%0
%45.49

Codes

Color #5A4A8B in popluar color models

5A4A8B
RGB9074139
HSL255°30.52%41.76%
HSB/HSV255°46.76%54.51%
CMYK35.25%46.76%0.00%
45.49%

Color #5A4A8B in popluar number systems.

HEX5A4A8B
Decimal9074139
Binary1011010100101010001011
Octal132112213

Shades and tints

Shades of #5A4A8B

#5A4A8B
(90,74,139)
#52447F
(82,68,127)
#4A3E73
(74,62,115)
#423867
(66,56,103)
#3A325B
(58,50,91)
#322C4F
(50,44,79)
#2A2643
(42,38,67)
#222037
(34,32,55)
#1A1A2B
(26,26,43)
#12141F
(18,20,31)
#0A0E13
(10,14,19)
#000000
(0,0,0)

Tints of #5A4A8B

#5A4A8B
(90,74,139)
#695A95
(105,90,149)
#786A9F
(120,106,159)
#877AA9
(135,122,169)
#968AB3
(150,138,179)
#A59ABD
(165,154,189)
#B4AAC7
(180,170,199)
#C3BAD1
(195,186,209)
#D2CADB
(210,202,219)
#E1DAE5
(225,218,229)
#F0EAEF
(240,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A4A8B; }

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

This text font color is #5A4A8B.


Background Color

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

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

This div background color is #5A4A8B.


Border color

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

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

This div border color is #5A4A8B.


Opacity

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

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

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

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

This text has shadow with #5A4A8B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A4A8B on black background.


Color preview on white background

This text has color #5A4A8B on white background.



Black color preview on #5A4A8B background

This text has black color on #5A4A8B background.


White color preview on #5A4A8B background

This text has white color on #5A4A8B background.