COLOR #5A507B

HEX: #5A507B RGB: (90,80,123)

Color info

#5A507B contains red, green and blue colors in about the same proportion. Web safe color of #5A507B is #666666 (or #666).

RGB color model

#5A507B color RGB value is (90,80,123).

RGB: (90,80,123) (35%, 31%, 48%)

RGB channels and saturation

R 90 of 255 = 35%
G 80 of 255 = 31%
B 123 of 255 = 48%

90
80
123

R + G + B ~ 38%. #5A507B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 80 + 123 = 293 (100%)
R 90 of 293 ~ 30.72%
G 80 of 293 ~ 27.3%
B 123 of 293 ~ 41.98'%

%30.72
%27.3
%41.98

CMYK color model

#5A507B color CMYK value is (27,35,0,52).

  • cyan value is 26.83%
  • magenta value is 34.96%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (27,35,0,52)
C27M35Y0K52 (27%, 35%, 0%, 52%)
(0.27 / 0.35 / 0.00 / 0.52)

CMYK percentages

%26.83
%34.96
%0
%51.76

Codes

Color #5A507B in popluar color models

5A 50 7B
RGB 90 80 123
HSL 254° 21.18% 39.80%
HSB/HSV 254° 34.96% 48.24%
CMYK 26.83% 34.96% 0.00%
51.76%

Color #5A507B in popluar number systems.

HEX 5A 50 7B
Decimal 90 80 123
Binary 1011010 1010000 1111011
Octal 132 120 173

Shades and tints

Shades of #5A507B

#5A507B
(90,80,123)
#524970
(82,73,112)
#4A4265
(74,66,101)
#423B5A
(66,59,90)
#3A344F
(58,52,79)
#322D44
(50,45,68)
#2A2639
(42,38,57)
#221F2E
(34,31,46)
#1A1823
(26,24,35)
#121118
(18,17,24)
#0A0A0D
(10,10,13)
#000000
(0,0,0)

Tints of #5A507B

#5A507B
(90,80,123)
#695F87
(105,95,135)
#786E93
(120,110,147)
#877D9F
(135,125,159)
#968CAB
(150,140,171)
#A59BB7
(165,155,183)
#B4AAC3
(180,170,195)
#C3B9CF
(195,185,207)
#D2C8DB
(210,200,219)
#E1D7E7
(225,215,231)
#F0E6F3
(240,230,243)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A507B; }

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

This text font color is #5A507B.

Background Color

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

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

This div background color is #5A507B.

Border color

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

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

This div border color is #5A507B.

Opacity

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

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

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

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

This text has shadow with #5A507B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A507B.

Preview

Color preview on black background

This text has color #5A507B on black background.


Color preview on white background

This text has color #5A507B on white background.


Black color preview on #5A507B background

This text has black color on #5A507B background.


White color preview on #5A507B background

This text has white color on #5A507B background.


Related colors

Complementary color

Complementary color for #hex is #A5AF84.


I love getcolorcode.com

Triadic colors

1 #7B5A50 and #507B5A with #5A507B are triadic colors.

2 #7B505A and #505A7B with #5A507B are triadic colors.