COLOR #5A5E7C

HEX: #5A5E7C RGB: (90,94,124)

Color info

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

RGB color model

#5A5E7C color RGB value is (90,94,124).

RGB: (90,94,124) (35%, 37%, 49%)

RGB channels and saturation

R 90 of 255 = 35%
G 94 of 255 = 37%
B 124 of 255 = 49%

90
94
124

R + G + B ~ 40%. #5A5E7C is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 90 + 94 + 124 = 308 (100%)
R 90 of 308 ~ 29.22%
G 94 of 308 ~ 30.52%
B 124 of 308 ~ 40.26'%

%29.22
%30.52
%40.26

CMYK color model

#5A5E7C color CMYK value is (27,24,0,51).

  • cyan value is 27.42%
  • magenta value is 24.19%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (27,24,0,51)
C27M24Y0K51 (27%, 24%, 0%, 51%)
(0.27 / 0.24 / 0.00 / 0.51)

CMYK percentages

%27.42
%24.19
%0
%51.37

Codes

Color #5A5E7C in popluar color models

5A 5E 7C
RGB 90 94 124
HSL 233° 15.89% 41.96%
HSB/HSV 233° 27.42% 48.63%
CMYK 27.42% 24.19% 0.00%
51.37%

Color #5A5E7C in popluar number systems.

HEX 5A 5E 7C
Decimal 90 94 124
Binary 1011010 1011110 1111100
Octal 132 136 174

Shades and tints

Shades of #5A5E7C

#5A5E7C
(90,94,124)
#525671
(82,86,113)
#4A4E66
(74,78,102)
#42465B
(66,70,91)
#3A3E50
(58,62,80)
#323645
(50,54,69)
#2A2E3A
(42,46,58)
#22262F
(34,38,47)
#1A1E24
(26,30,36)
#121619
(18,22,25)
#0A0E0E
(10,14,14)
#000000
(0,0,0)

Tints of #5A5E7C

#5A5E7C
(90,94,124)
#696C87
(105,108,135)
#787A92
(120,122,146)
#87889D
(135,136,157)
#9696A8
(150,150,168)
#A5A4B3
(165,164,179)
#B4B2BE
(180,178,190)
#C3C0C9
(195,192,201)
#D2CED4
(210,206,212)
#E1DCDF
(225,220,223)
#F0EAEA
(240,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5E7C color. Also use rgb(90,94,124) instead hex code.

Text Font Color

.myTextColor { color: #5A5E7C; }

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

This text font color is #5A5E7C.

Background Color

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

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

This div background color is #5A5E7C.

Border color

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

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

This div border color is #5A5E7C.

Opacity

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

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

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

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

This text has shadow with #5A5E7C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5E7C.

Preview

Color preview on black background

This text has color #5A5E7C on black background.


Color preview on white background

This text has color #5A5E7C on white background.


Black color preview on #5A5E7C background

This text has black color on #5A5E7C background.


White color preview on #5A5E7C background

This text has white color on #5A5E7C background.


Related colors

Complementary color

Complementary color for #hex is #A5A183.


I love getcolorcode.com

Triadic colors

1 #7C5A5E and #5E7C5A with #5A5E7C are triadic colors.

2 #7C5E5A and #5E5A7C with #5A5E7C are triadic colors.