COLOR #5A378B

HEX: #5A378B RGB: (90,55,139)

Color info

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

RGB color model

#5A378B color RGB value is (90,55,139).

RGB: (90,55,139) (35%, 22%, 55%)

RGB channels and saturation

R 90 of 255 = 35%
G 55 of 255 = 22%
B 139 of 255 = 55%

90
55
139

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

Portions of RGB colors in percentages

R + G + B = 90 + 55 + 139 = 284 (100%)
R 90 of 284 ~ 31.69%
G 55 of 284 ~ 19.37%
B 139 of 284 ~ 48.94'%

%31.69
%19.37
%48.94

CMYK color model

#5A378B color CMYK value is (35,60,0,45).

  • cyan value is 35.25%
  • magenta value is 60.43%
  • yellow value is 0.00%
  • key color value is 45.49%

CMYK: (35,60,0,45)
C35M60Y0K45 (35%, 60%, 0%, 45%)
(0.35 / 0.60 / 0.00 / 0.45)

CMYK percentages

%35.25
%60.43
%0
%45.49

Codes

Color #5A378B in popluar color models

5A 37 8B
RGB 90 55 139
HSL 265° 43.30% 38.04%
HSB/HSV 265° 60.43% 54.51%
CMYK 35.25% 60.43% 0.00%
45.49%

Color #5A378B in popluar number systems.

HEX 5A 37 8B
Decimal 90 55 139
Binary 1011010 110111 10001011
Octal 132 67 213

Shades and tints

Shades of #5A378B

#5A378B
(90,55,139)
#52327F
(82,50,127)
#4A2D73
(74,45,115)
#422867
(66,40,103)
#3A235B
(58,35,91)
#321E4F
(50,30,79)
#2A1943
(42,25,67)
#221437
(34,20,55)
#1A0F2B
(26,15,43)
#120A1F
(18,10,31)
#0A0513
(10,5,19)
#000000
(0,0,0)

Tints of #5A378B

#5A378B
(90,55,139)
#694995
(105,73,149)
#785B9F
(120,91,159)
#876DA9
(135,109,169)
#967FB3
(150,127,179)
#A591BD
(165,145,189)
#B4A3C7
(180,163,199)
#C3B5D1
(195,181,209)
#D2C7DB
(210,199,219)
#E1D9E5
(225,217,229)
#F0EBEF
(240,235,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A378B; }

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

This text font color is #5A378B.

Background Color

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

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

This div background color is #5A378B.

Border color

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

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

This div border color is #5A378B.

Opacity

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

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

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

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

This text has shadow with #5A378B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A378B.

Preview

Color preview on black background

This text has color #5A378B on black background.


Color preview on white background

This text has color #5A378B on white background.


Black color preview on #5A378B background

This text has black color on #5A378B background.


White color preview on #5A378B background

This text has white color on #5A378B background.


Related colors

Complementary color

Complementary color for #hex is #A5C874.


I love getcolorcode.com

Triadic colors

1 #8B5A37 and #378B5A with #5A378B are triadic colors.

2 #8B375A and #375A8B with #5A378B are triadic colors.