COLOR #5A396B

HEX: #5A396B
RGB: (90,57,107)

Color info

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

RGB color model

#5A396B color RGB value is (90,57,107).

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

RGB channels and saturation

R 90 of 255 = 35%
G 57 of 255 = 22%
B 107 of 255 = 42%

90
57
107

R + G + B ~ 33%. #5A396B is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 57 + 107 = 254 (100%)
R 90 of 254 ~ 35.43%
G 57 of 254 ~ 22.44%
B 107 of 254 ~ 42.13%

%35.43
%22.44
%42.13

CMYK color model

#5A396B color CMYK value is (16,47,0,58).

  • cyan value is 15.89%
  • magenta value is 46.73%
  • yellow value is 0.00%
  • key color value is 58.04%
CMYK:
(16,47,0,58)
C16M47Y0K58 
(16%,47%,0%,58%)
(0.16/0.47/0.00/0.58)	

CMYK percentages

%15.89
%46.73
%0
%58.04

Codes

Color #5A396B in popluar color models

5A396B
RGB9057107
HSL280°30.49%32.16%
HSB/HSV280°46.73%41.96%
CMYK15.89%46.73%0.00%
58.04%

Color #5A396B in popluar number systems.

HEX5A396B
Decimal9057107
Binary10110101110011101011
Octal13271153

Shades and tints

Shades of #5A396B

#5A396B
(90,57,107)
#523462
(82,52,98)
#4A2F59
(74,47,89)
#422A50
(66,42,80)
#3A2547
(58,37,71)
#32203E
(50,32,62)
#2A1B35
(42,27,53)
#22162C
(34,22,44)
#1A1123
(26,17,35)
#120C1A
(18,12,26)
#0A0711
(10,7,17)
#000000
(0,0,0)

Tints of #5A396B

#5A396B
(90,57,107)
#694B78
(105,75,120)
#785D85
(120,93,133)
#876F92
(135,111,146)
#96819F
(150,129,159)
#A593AC
(165,147,172)
#B4A5B9
(180,165,185)
#C3B7C6
(195,183,198)
#D2C9D3
(210,201,211)
#E1DBE0
(225,219,224)
#F0EDED
(240,237,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A396B; }

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

This text font color is #5A396B.


Background Color

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

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

This div background color is #5A396B.


Border color

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

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

This div border color is #5A396B.


Opacity

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

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

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

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

This text has shadow with #5A396B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A396B on black background.


Color preview on white background

This text has color #5A396B on white background.



Black color preview on #5A396B background

This text has black color on #5A396B background.


White color preview on #5A396B background

This text has white color on #5A396B background.