COLOR #5A428B

HEX: #5A428B
RGB: (90,66,139)

Color info

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

RGB color model

#5A428B color RGB value is (90,66,139).

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

RGB channels and saturation

R 90 of 255 = 35%
G 66 of 255 = 26%
B 139 of 255 = 55%

90
66
139

R + G + B ~ 39%. #5A428B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 66 + 139 = 295 (100%)
R 90 of 295 ~ 30.51%
G 66 of 295 ~ 22.37%
B 139 of 295 ~ 47.12%

%30.51
%22.37
%47.12

CMYK color model

#5A428B color CMYK value is (35,53,0,45).

  • cyan value is 35.25%
  • magenta value is 52.52%
  • yellow value is 0.00%
  • key color value is 45.49%
CMYK:
(35,53,0,45)
C35M53Y0K45 
(35%,53%,0%,45%)
(0.35/0.53/0.00/0.45)	

CMYK percentages

%35.25
%52.52
%0
%45.49

Codes

Color #5A428B in popluar color models

5A428B
RGB9066139
HSL260°35.61%40.20%
HSB/HSV260°52.52%54.51%
CMYK35.25%52.52%0.00%
45.49%

Color #5A428B in popluar number systems.

HEX5A428B
Decimal9066139
Binary1011010100001010001011
Octal132102213

Shades and tints

Shades of #5A428B

#5A428B
(90,66,139)
#523C7F
(82,60,127)
#4A3673
(74,54,115)
#423067
(66,48,103)
#3A2A5B
(58,42,91)
#32244F
(50,36,79)
#2A1E43
(42,30,67)
#221837
(34,24,55)
#1A122B
(26,18,43)
#120C1F
(18,12,31)
#0A0613
(10,6,19)
#000000
(0,0,0)

Tints of #5A428B

#5A428B
(90,66,139)
#695395
(105,83,149)
#78649F
(120,100,159)
#8775A9
(135,117,169)
#9686B3
(150,134,179)
#A597BD
(165,151,189)
#B4A8C7
(180,168,199)
#C3B9D1
(195,185,209)
#D2CADB
(210,202,219)
#E1DBE5
(225,219,229)
#F0ECEF
(240,236,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A428B; }

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

This text font color is #5A428B.


Background Color

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

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

This div background color is #5A428B.


Border color

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

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

This div border color is #5A428B.


Opacity

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

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

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

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

This text has shadow with #5A428B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A428B on black background.


Color preview on white background

This text has color #5A428B on white background.



Black color preview on #5A428B background

This text has black color on #5A428B background.


White color preview on #5A428B background

This text has white color on #5A428B background.