COLOR #5A387F

HEX: #5A387F
RGB: (90,56,127)

Color info

#5A387F contains mainly red and blue colors. Web safe color of #5A387F is #663366 (or #636).

RGB color model

#5A387F color RGB value is (90,56,127).

  • red value is 90;
  • green value is 56;
  • blue value is 127.
RGB:
(90,56,127)
(35%,22%,50%)

RGB channels and saturation

R 90 of 255 = 35%
G 56 of 255 = 22%
B 127 of 255 = 50%

90
56
127

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

Portions of RGB colors in percentages

R + G + B =
90 + 56 + 127 = 273 (100%)
R 90 of 273 ~ 32.97%
G 56 of 273 ~ 20.51%
B 127 of 273 ~ 46.52%

%32.97
%20.51
%46.52

CMYK color model

#5A387F color CMYK value is (29,56,0,50).

  • cyan value is 29.13%
  • magenta value is 55.91%
  • yellow value is 0.00%
  • key color value is 50.20%
CMYK:
(29,56,0,50)
C29M56Y0K50 
(29%,56%,0%,50%)
(0.29/0.56/0.00/0.50)	

CMYK percentages

%29.13
%55.91
%0
%50.2

Codes

Color #5A387F in popluar color models

5A387F
RGB9056127
HSL269°38.80%35.88%
HSB/HSV269°55.91%49.80%
CMYK29.13%55.91%0.00%
50.20%

Color #5A387F in popluar number systems.

HEX5A387F
Decimal9056127
Binary10110101110001111111
Octal13270177

Shades and tints

Shades of #5A387F

#5A387F
(90,56,127)
#523374
(82,51,116)
#4A2E69
(74,46,105)
#42295E
(66,41,94)
#3A2453
(58,36,83)
#321F48
(50,31,72)
#2A1A3D
(42,26,61)
#221532
(34,21,50)
#1A1027
(26,16,39)
#120B1C
(18,11,28)
#0A0611
(10,6,17)
#000000
(0,0,0)

Tints of #5A387F

#5A387F
(90,56,127)
#694A8A
(105,74,138)
#785C95
(120,92,149)
#876EA0
(135,110,160)
#9680AB
(150,128,171)
#A592B6
(165,146,182)
#B4A4C1
(180,164,193)
#C3B6CC
(195,182,204)
#D2C8D7
(210,200,215)
#E1DAE2
(225,218,226)
#F0ECED
(240,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A387F color. Also use rgb(90,56,127) instead hex code.

Text Font Color

.myTextColor { color: #5A387F; }

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

This text font color is #5A387F.


Background Color

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

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

This div background color is #5A387F.


Border color

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

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

This div border color is #5A387F.


Opacity

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

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

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

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

This text has shadow with #5A387F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A387F on black background.


Color preview on white background

This text has color #5A387F on white background.



Black color preview on #5A387F background

This text has black color on #5A387F background.


White color preview on #5A387F background

This text has white color on #5A387F background.