COLOR #5A406C

HEX: #5A406C
RGB: (90,64,108)

Color info

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

RGB color model

#5A406C color RGB value is (90,64,108).

  • red value is 90;
  • green value is 64;
  • blue value is 108.
RGB:
(90,64,108)
(35%,25%,42%)

RGB channels and saturation

R 90 of 255 = 35%
G 64 of 255 = 25%
B 108 of 255 = 42%

90
64
108

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

Portions of RGB colors in percentages

R + G + B =
90 + 64 + 108 = 262 (100%)
R 90 of 262 ~ 34.35%
G 64 of 262 ~ 24.43%
B 108 of 262 ~ 41.22%

%34.35
%24.43
%41.22

CMYK color model

#5A406C color CMYK value is (17,41,0,58).

  • cyan value is 16.67%
  • magenta value is 40.74%
  • yellow value is 0.00%
  • key color value is 57.65%
CMYK:
(17,41,0,58)
C17M41Y0K58 
(17%,41%,0%,58%)
(0.17/0.41/0.00/0.58)	

CMYK percentages

%16.67
%40.74
%0
%57.65

Codes

Color #5A406C in popluar color models

5A406C
RGB9064108
HSL275°25.58%33.73%
HSB/HSV275°40.74%42.35%
CMYK16.67%40.74%0.00%
57.65%

Color #5A406C in popluar number systems.

HEX5A406C
Decimal9064108
Binary101101010000001101100
Octal132100154

Shades and tints

Shades of #5A406C

#5A406C
(90,64,108)
#523B63
(82,59,99)
#4A365A
(74,54,90)
#423151
(66,49,81)
#3A2C48
(58,44,72)
#32273F
(50,39,63)
#2A2236
(42,34,54)
#221D2D
(34,29,45)
#1A1824
(26,24,36)
#12131B
(18,19,27)
#0A0E12
(10,14,18)
#000000
(0,0,0)

Tints of #5A406C

#5A406C
(90,64,108)
#695179
(105,81,121)
#786286
(120,98,134)
#877393
(135,115,147)
#9684A0
(150,132,160)
#A595AD
(165,149,173)
#B4A6BA
(180,166,186)
#C3B7C7
(195,183,199)
#D2C8D4
(210,200,212)
#E1D9E1
(225,217,225)
#F0EAEE
(240,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A406C color. Also use rgb(90,64,108) instead hex code.

Text Font Color

.myTextColor { color: #5A406C; }

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

This text font color is #5A406C.


Background Color

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

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

This div background color is #5A406C.


Border color

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

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

This div border color is #5A406C.


Opacity

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

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

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

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

This text has shadow with #5A406C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A406C on black background.


Color preview on white background

This text has color #5A406C on white background.



Black color preview on #5A406C background

This text has black color on #5A406C background.


White color preview on #5A406C background

This text has white color on #5A406C background.