COLOR #5A407B

HEX: #5A407B RGB: (90,64,123)

Color info

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

RGB color model

#5A407B color RGB value is (90,64,123).

RGB: (90,64,123) (35%, 25%, 48%)

RGB channels and saturation

R 90 of 255 = 35%
G 64 of 255 = 25%
B 123 of 255 = 48%

90
64
123

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

Portions of RGB colors in percentages

R + G + B = 90 + 64 + 123 = 277 (100%)
R 90 of 277 ~ 32.49%
G 64 of 277 ~ 23.1%
B 123 of 277 ~ 44.4'%

%32.49
%23.1
%44.4

CMYK color model

#5A407B color CMYK value is (27,48,0,52).

  • cyan value is 26.83%
  • magenta value is 47.97%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK: (27,48,0,52) C27M48Y0K52 (27%,48%,0%,52%) (0.27/0.48/0.00/0.52) 

CMYK percentages

%26.83
%47.97
%0
%51.76

Codes

Color #5A407B in popluar color models

5A 40 7B
RGB 90 64 123
HSL 266° 31.55% 36.67%
HSB/HSV 266° 47.97% 48.24%
CMYK 26.83% 47.97% 0.00%
51.76%

Color #5A407B in popluar number systems.

HEX 5A 40 7B
Decimal 90 64 123
Binary 1011010 1000000 1111011
Octal 132 100 173

Shades and tints

Shades of #5A407B

#5A407B
(90,64,123)
#523B70
(82,59,112)
#4A3665
(74,54,101)
#42315A
(66,49,90)
#3A2C4F
(58,44,79)
#322744
(50,39,68)
#2A2239
(42,34,57)
#221D2E
(34,29,46)
#1A1823
(26,24,35)
#121318
(18,19,24)
#0A0E0D
(10,14,13)
#000000
(0,0,0)

Tints of #5A407B

#5A407B
(90,64,123)
#695187
(105,81,135)
#786293
(120,98,147)
#87739F
(135,115,159)
#9684AB
(150,132,171)
#A595B7
(165,149,183)
#B4A6C3
(180,166,195)
#C3B7CF
(195,183,207)
#D2C8DB
(210,200,219)
#E1D9E7
(225,217,231)
#F0EAF3
(240,234,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A407B; }

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

This text font color is #5A407B.

Background Color

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

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

This div background color is #5A407B.

Border color

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

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

This div border color is #5A407B.

Opacity

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

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

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

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

This text has shadow with #5A407B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A407B.

Preview

Color preview on black background

This text has color #5A407B on black background.


Color preview on white background

This text has color #5A407B on white background.


Black color preview on #5A407B background

This text has black color on #5A407B background.


White color preview on #5A407B background

This text has white color on #5A407B background.


Related colors

Complementary color

Complementary color for #hex is #A5BF84.


I love getcolorcode.com

Triadic colors

1 #7B5A40 and #407B5A with #5A407B are triadic colors.

2 #7B405A and #405A7B with #5A407B are triadic colors.