COLOR #5A4878

HEX: #5A4878 RGB: (90,72,120)

Color info

#5A4878 contains red, green and blue colors in about the same proportion. Web safe color of #5A4878 is #663366 (or #636).

RGB color model

#5A4878 color RGB value is (90,72,120).

RGB: (90,72,120) (35%, 28%, 47%)

RGB channels and saturation

R 90 of 255 = 35%
G 72 of 255 = 28%
B 120 of 255 = 47%

90
72
120

R + G + B ~ 37%. #5A4878 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 72 + 120 = 282 (100%)
R 90 of 282 ~ 31.91%
G 72 of 282 ~ 25.53%
B 120 of 282 ~ 42.55'%

%31.91
%25.53
%42.55

CMYK color model

#5A4878 color CMYK value is (25,40,0,53).

  • cyan value is 25.00%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 52.94%

CMYK: (25,40,0,53)
C25M40Y0K53 (25%, 40%, 0%, 53%)
(0.25 / 0.40 / 0.00 / 0.53)

CMYK percentages

%25
%40
%0
%52.94

Codes

Color #5A4878 in popluar color models

5A 48 78
RGB 90 72 120
HSL 263° 25.00% 37.65%
HSB/HSV 263° 40.00% 47.06%
CMYK 25.00% 40.00% 0.00%
52.94%

Color #5A4878 in popluar number systems.

HEX 5A 48 78
Decimal 90 72 120
Binary 1011010 1001000 1111000
Octal 132 110 170

Shades and tints

Shades of #5A4878

#5A4878
(90,72,120)
#52426E
(82,66,110)
#4A3C64
(74,60,100)
#42365A
(66,54,90)
#3A3050
(58,48,80)
#322A46
(50,42,70)
#2A243C
(42,36,60)
#221E32
(34,30,50)
#1A1828
(26,24,40)
#12121E
(18,18,30)
#0A0C14
(10,12,20)
#000000
(0,0,0)

Tints of #5A4878

#5A4878
(90,72,120)
#695884
(105,88,132)
#786890
(120,104,144)
#87789C
(135,120,156)
#9688A8
(150,136,168)
#A598B4
(165,152,180)
#B4A8C0
(180,168,192)
#C3B8CC
(195,184,204)
#D2C8D8
(210,200,216)
#E1D8E4
(225,216,228)
#F0E8F0
(240,232,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A4878 color. Also use rgb(90,72,120) instead hex code.

Text Font Color

.myTextColor { color: #5A4878; }

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

This text font color is #5A4878.

Background Color

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

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

This div background color is #5A4878.

Border color

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

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

This div border color is #5A4878.

Opacity

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

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

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

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

This text has shadow with #5A4878 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A4878.

Preview

Color preview on black background

This text has color #5A4878 on black background.


Color preview on white background

This text has color #5A4878 on white background.


Black color preview on #5A4878 background

This text has black color on #5A4878 background.


White color preview on #5A4878 background

This text has white color on #5A4878 background.


Related colors

Complementary color

Complementary color for #hex is #A5B787.


I love getcolorcode.com

Triadic colors

1 #785A48 and #48785A with #5A4878 are triadic colors.

2 #78485A and #485A78 with #5A4878 are triadic colors.