COLOR #5A5F7E

HEX: #5A5F7E RGB: (90,95,126)

Color info

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

RGB color model

#5A5F7E color RGB value is (90,95,126).

RGB: (90,95,126) (35%, 37%, 49%)

RGB channels and saturation

R 90 of 255 = 35%
G 95 of 255 = 37%
B 126 of 255 = 49%

90
95
126

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

Portions of RGB colors in percentages

R + G + B = 90 + 95 + 126 = 311 (100%)
R 90 of 311 ~ 28.94%
G 95 of 311 ~ 30.55%
B 126 of 311 ~ 40.51'%

%28.94
%30.55
%40.51

CMYK color model

#5A5F7E color CMYK value is (29,25,0,51).

  • cyan value is 28.57%
  • magenta value is 24.60%
  • yellow value is 0.00%
  • key color value is 50.59%

CMYK: (29,25,0,51)
C29M25Y0K51 (29%, 25%, 0%, 51%)
(0.29 / 0.25 / 0.00 / 0.51)

CMYK percentages

%28.57
%24.6
%0
%50.59

Codes

Color #5A5F7E in popluar color models

5A 5F 7E
RGB 90 95 126
HSL 232° 16.67% 42.35%
HSB/HSV 232° 28.57% 49.41%
CMYK 28.57% 24.60% 0.00%
50.59%

Color #5A5F7E in popluar number systems.

HEX 5A 5F 7E
Decimal 90 95 126
Binary 1011010 1011111 1111110
Octal 132 137 176

Shades and tints

Shades of #5A5F7E

#5A5F7E
(90,95,126)
#525773
(82,87,115)
#4A4F68
(74,79,104)
#42475D
(66,71,93)
#3A3F52
(58,63,82)
#323747
(50,55,71)
#2A2F3C
(42,47,60)
#222731
(34,39,49)
#1A1F26
(26,31,38)
#12171B
(18,23,27)
#0A0F10
(10,15,16)
#000000
(0,0,0)

Tints of #5A5F7E

#5A5F7E
(90,95,126)
#696D89
(105,109,137)
#787B94
(120,123,148)
#87899F
(135,137,159)
#9697AA
(150,151,170)
#A5A5B5
(165,165,181)
#B4B3C0
(180,179,192)
#C3C1CB
(195,193,203)
#D2CFD6
(210,207,214)
#E1DDE1
(225,221,225)
#F0EBEC
(240,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5F7E color. Also use rgb(90,95,126) instead hex code.

Text Font Color

.myTextColor { color: #5A5F7E; }

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

This text font color is #5A5F7E.

Background Color

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

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

This div background color is #5A5F7E.

Border color

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

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

This div border color is #5A5F7E.

Opacity

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

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

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

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

This text has shadow with #5A5F7E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5F7E.

Preview

Color preview on black background

This text has color #5A5F7E on black background.


Color preview on white background

This text has color #5A5F7E on white background.


Black color preview on #5A5F7E background

This text has black color on #5A5F7E background.


White color preview on #5A5F7E background

This text has white color on #5A5F7E background.


Related colors

Complementary color

Complementary color for #hex is #A5A081.


I love getcolorcode.com

Triadic colors

1 #7E5A5F and #5F7E5A with #5A5F7E are triadic colors.

2 #7E5F5A and #5F5A7E with #5A5F7E are triadic colors.