COLOR #5A478E

HEX: #5A478E RGB: (90,71,142)

Color info

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

RGB color model

#5A478E color RGB value is (90,71,142).

RGB: (90,71,142) (35%, 28%, 56%)

RGB channels and saturation

R 90 of 255 = 35%
G 71 of 255 = 28%
B 142 of 255 = 56%

90
71
142

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

Portions of RGB colors in percentages

R + G + B = 90 + 71 + 142 = 303 (100%)
R 90 of 303 ~ 29.7%
G 71 of 303 ~ 23.43%
B 142 of 303 ~ 46.86'%

%29.7
%23.43
%46.86

CMYK color model

#5A478E color CMYK value is (37,50,0,44).

  • cyan value is 36.62%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 44.31%

CMYK: (37,50,0,44)
C37M50Y0K44 (37%, 50%, 0%, 44%)
(0.37 / 0.50 / 0.00 / 0.44)

CMYK percentages

%36.62
%50
%0
%44.31

Codes

Color #5A478E in popluar color models

5A 47 8E
RGB 90 71 142
HSL 256° 33.33% 41.76%
HSB/HSV 256° 50.00% 55.69%
CMYK 36.62% 50.00% 0.00%
44.31%

Color #5A478E in popluar number systems.

HEX 5A 47 8E
Decimal 90 71 142
Binary 1011010 1000111 10001110
Octal 132 107 216

Shades and tints

Shades of #5A478E

#5A478E
(90,71,142)
#524182
(82,65,130)
#4A3B76
(74,59,118)
#42356A
(66,53,106)
#3A2F5E
(58,47,94)
#322952
(50,41,82)
#2A2346
(42,35,70)
#221D3A
(34,29,58)
#1A172E
(26,23,46)
#121122
(18,17,34)
#0A0B16
(10,11,22)
#000000
(0,0,0)

Tints of #5A478E

#5A478E
(90,71,142)
#695798
(105,87,152)
#7867A2
(120,103,162)
#8777AC
(135,119,172)
#9687B6
(150,135,182)
#A597C0
(165,151,192)
#B4A7CA
(180,167,202)
#C3B7D4
(195,183,212)
#D2C7DE
(210,199,222)
#E1D7E8
(225,215,232)
#F0E7F2
(240,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A478E; }

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

This text font color is #5A478E.

Background Color

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

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

This div background color is #5A478E.

Border color

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

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

This div border color is #5A478E.

Opacity

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

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

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

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

This text has shadow with #5A478E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A478E.

Preview

Color preview on black background

This text has color #5A478E on black background.


Color preview on white background

This text has color #5A478E on white background.


Black color preview on #5A478E background

This text has black color on #5A478E background.


White color preview on #5A478E background

This text has white color on #5A478E background.


Related colors

Complementary color

Complementary color for #hex is #A5B871.


I love getcolorcode.com

Triadic colors

1 #8E5A47 and #478E5A with #5A478E are triadic colors.

2 #8E475A and #475A8E with #5A478E are triadic colors.