COLOR #5A396F

HEX: #5A396F
RGB: (90,57,111)

Color info

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

RGB color model

#5A396F color RGB value is (90,57,111).

  • red value is 90;
  • green value is 57;
  • blue value is 111.
RGB:
(90,57,111)
(35%,22%,44%)

RGB channels and saturation

R 90 of 255 = 35%
G 57 of 255 = 22%
B 111 of 255 = 44%

90
57
111

R + G + B ~ 34%. #5A396F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 57 + 111 = 258 (100%)
R 90 of 258 ~ 34.88%
G 57 of 258 ~ 22.09%
B 111 of 258 ~ 43.02%

%34.88
%22.09
%43.02

CMYK color model

#5A396F color CMYK value is (19,49,0,56).

  • cyan value is 18.92%
  • magenta value is 48.65%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(19,49,0,56)
C19M49Y0K56 
(19%,49%,0%,56%)
(0.19/0.49/0.00/0.56)	

CMYK percentages

%18.92
%48.65
%0
%56.47

Codes

Color #5A396F in popluar color models

5A396F
RGB9057111
HSL277°32.14%32.94%
HSB/HSV277°48.65%43.53%
CMYK18.92%48.65%0.00%
56.47%

Color #5A396F in popluar number systems.

HEX5A396F
Decimal9057111
Binary10110101110011101111
Octal13271157

Shades and tints

Shades of #5A396F

#5A396F
(90,57,111)
#523465
(82,52,101)
#4A2F5B
(74,47,91)
#422A51
(66,42,81)
#3A2547
(58,37,71)
#32203D
(50,32,61)
#2A1B33
(42,27,51)
#221629
(34,22,41)
#1A111F
(26,17,31)
#120C15
(18,12,21)
#0A070B
(10,7,11)
#000000
(0,0,0)

Tints of #5A396F

#5A396F
(90,57,111)
#694B7C
(105,75,124)
#785D89
(120,93,137)
#876F96
(135,111,150)
#9681A3
(150,129,163)
#A593B0
(165,147,176)
#B4A5BD
(180,165,189)
#C3B7CA
(195,183,202)
#D2C9D7
(210,201,215)
#E1DBE4
(225,219,228)
#F0EDF1
(240,237,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A396F color. Also use rgb(90,57,111) instead hex code.

Text Font Color

.myTextColor { color: #5A396F; }

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

This text font color is #5A396F.


Background Color

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

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

This div background color is #5A396F.


Border color

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

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

This div border color is #5A396F.


Opacity

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

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

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

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

This text has shadow with #5A396F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A396F on black background.


Color preview on white background

This text has color #5A396F on white background.



Black color preview on #5A396F background

This text has black color on #5A396F background.


White color preview on #5A396F background

This text has white color on #5A396F background.