COLOR #5A3F78

HEX: #5A3F78
RGB: (90,63,120)

Color info

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

RGB color model

#5A3F78 color RGB value is (90,63,120).

  • red value is 90;
  • green value is 63;
  • blue value is 120.
RGB:
(90,63,120)
(35%,25%,47%)

RGB channels and saturation

R 90 of 255 = 35%
G 63 of 255 = 25%
B 120 of 255 = 47%

90
63
120

R + G + B ~ 36%. #5A3F78 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 63 + 120 = 273 (100%)
R 90 of 273 ~ 32.97%
G 63 of 273 ~ 23.08%
B 120 of 273 ~ 43.96%

%32.97
%23.08
%43.96

CMYK color model

#5A3F78 color CMYK value is (25,48,0,53).

  • cyan value is 25.00%
  • magenta value is 47.50%
  • yellow value is 0.00%
  • key color value is 52.94%
CMYK:
(25,48,0,53)
C25M48Y0K53 
(25%,48%,0%,53%)
(0.25/0.48/0.00/0.53)	

CMYK percentages

%25
%47.5
%0
%52.94

Codes

Color #5A3F78 in popluar color models

5A3F78
RGB9063120
HSL268°31.15%35.88%
HSB/HSV268°47.50%47.06%
CMYK25.00%47.50%0.00%
52.94%

Color #5A3F78 in popluar number systems.

HEX5A3F78
Decimal9063120
Binary10110101111111111000
Octal13277170

Shades and tints

Shades of #5A3F78

#5A3F78
(90,63,120)
#523A6E
(82,58,110)
#4A3564
(74,53,100)
#42305A
(66,48,90)
#3A2B50
(58,43,80)
#322646
(50,38,70)
#2A213C
(42,33,60)
#221C32
(34,28,50)
#1A1728
(26,23,40)
#12121E
(18,18,30)
#0A0D14
(10,13,20)
#000000
(0,0,0)

Tints of #5A3F78

#5A3F78
(90,63,120)
#695084
(105,80,132)
#786190
(120,97,144)
#87729C
(135,114,156)
#9683A8
(150,131,168)
#A594B4
(165,148,180)
#B4A5C0
(180,165,192)
#C3B6CC
(195,182,204)
#D2C7D8
(210,199,216)
#E1D8E4
(225,216,228)
#F0E9F0
(240,233,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A3F78; }

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

This text font color is #5A3F78.


Background Color

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

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

This div background color is #5A3F78.


Border color

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

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

This div border color is #5A3F78.


Opacity

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

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

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

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

This text has shadow with #5A3F78 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3F78 on black background.


Color preview on white background

This text has color #5A3F78 on white background.



Black color preview on #5A3F78 background

This text has black color on #5A3F78 background.


White color preview on #5A3F78 background

This text has white color on #5A3F78 background.