COLOR #5A406E

HEX: #5A406E RGB: (90,64,110)

Color info

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

RGB color model

#5A406E color RGB value is (90,64,110).

RGB: (90,64,110) (35%, 25%, 43%)

RGB channels and saturation

R 90 of 255 = 35%
G 64 of 255 = 25%
B 110 of 255 = 43%

90
64
110

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

Portions of RGB colors in percentages

R + G + B = 90 + 64 + 110 = 264 (100%)
R 90 of 264 ~ 34.09%
G 64 of 264 ~ 24.24%
B 110 of 264 ~ 41.67'%

%34.09
%24.24
%41.67

CMYK color model

#5A406E color CMYK value is (18,42,0,57).

  • cyan value is 18.18%
  • magenta value is 41.82%
  • yellow value is 0.00%
  • key color value is 56.86%
CMYK: (18,42,0,57) C18M42Y0K57 (18%,42%,0%,57%) (0.18/0.42/0.00/0.57) 

CMYK percentages

%18.18
%41.82
%0
%56.86

Codes

Color #5A406E in popluar color models

5A 40 6E
RGB 90 64 110
HSL 274° 26.44% 34.12%
HSB/HSV 274° 41.82% 43.14%
CMYK 18.18% 41.82% 0.00%
56.86%

Color #5A406E in popluar number systems.

HEX 5A 40 6E
Decimal 90 64 110
Binary 1011010 1000000 1101110
Octal 132 100 156

Shades and tints

Shades of #5A406E

#5A406E
(90,64,110)
#523B64
(82,59,100)
#4A365A
(74,54,90)
#423150
(66,49,80)
#3A2C46
(58,44,70)
#32273C
(50,39,60)
#2A2232
(42,34,50)
#221D28
(34,29,40)
#1A181E
(26,24,30)
#121314
(18,19,20)
#0A0E0A
(10,14,10)
#000000
(0,0,0)

Tints of #5A406E

#5A406E
(90,64,110)
#69517B
(105,81,123)
#786288
(120,98,136)
#877395
(135,115,149)
#9684A2
(150,132,162)
#A595AF
(165,149,175)
#B4A6BC
(180,166,188)
#C3B7C9
(195,183,201)
#D2C8D6
(210,200,214)
#E1D9E3
(225,217,227)
#F0EAF0
(240,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A406E; }

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

This text font color is #5A406E.

Background Color

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

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

This div background color is #5A406E.

Border color

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

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

This div border color is #5A406E.

Opacity

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

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

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

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

This text has shadow with #5A406E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A406E.

Preview

Color preview on black background

This text has color #5A406E on black background.


Color preview on white background

This text has color #5A406E on white background.


Black color preview on #5A406E background

This text has black color on #5A406E background.


White color preview on #5A406E background

This text has white color on #5A406E background.


Related colors

Complementary color

Complementary color for #hex is #A5BF91.


I love getcolorcode.com

Triadic colors

1 #6E5A40 and #406E5A with #5A406E are triadic colors.

2 #6E405A and #405A6E with #5A406E are triadic colors.