COLOR #5A5966

HEX: #5A5966
RGB: (90,89,102)

Color info

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

RGB color model

#5A5966 color RGB value is (90,89,102).

  • red value is 90;
  • green value is 89;
  • blue value is 102.
RGB:
(90,89,102)
(35%,35%,40%)

RGB channels and saturation

R 90 of 255 = 35%
G 89 of 255 = 35%
B 102 of 255 = 40%

90
89
102

R + G + B ~ 37%. #5A5966 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 89 + 102 = 281 (100%)
R 90 of 281 ~ 32.03%
G 89 of 281 ~ 31.67%
B 102 of 281 ~ 36.3%

%32.03
%31.67
%36.3

CMYK color model

#5A5966 color CMYK value is (12,13,0,60).

  • cyan value is 11.76%
  • magenta value is 12.75%
  • yellow value is 0.00%
  • key color value is 60.00%
CMYK:
(12,13,0,60)
C12M13Y0K60 
(12%,13%,0%,60%)
(0.12/0.13/0.00/0.60)	

CMYK percentages

%11.76
%12.75
%0
%60

Codes

Color #5A5966 in popluar color models

5A5966
RGB9089102
HSL245°6.81%37.45%
HSB/HSV245°12.75%40.00%
CMYK11.76%12.75%0.00%
60.00%

Color #5A5966 in popluar number systems.

HEX5A5966
Decimal9089102
Binary101101010110011100110
Octal132131146

Shades and tints

Shades of #5A5966

#5A5966
(90,89,102)
#52515D
(82,81,93)
#4A4954
(74,73,84)
#42414B
(66,65,75)
#3A3942
(58,57,66)
#323139
(50,49,57)
#2A2930
(42,41,48)
#222127
(34,33,39)
#1A191E
(26,25,30)
#121115
(18,17,21)
#0A090C
(10,9,12)
#000000
(0,0,0)

Tints of #5A5966

#5A5966
(90,89,102)
#696873
(105,104,115)
#787780
(120,119,128)
#87868D
(135,134,141)
#96959A
(150,149,154)
#A5A4A7
(165,164,167)
#B4B3B4
(180,179,180)
#C3C2C1
(195,194,193)
#D2D1CE
(210,209,206)
#E1E0DB
(225,224,219)
#F0EFE8
(240,239,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5966 color. Also use rgb(90,89,102) instead hex code.

Text Font Color

.myTextColor { color: #5A5966; }

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

This text font color is #5A5966.


Background Color

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

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

This div background color is #5A5966.


Border color

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

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

This div border color is #5A5966.


Opacity

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

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

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

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

This text has shadow with #5A5966 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5966 on black background.


Color preview on white background

This text has color #5A5966 on white background.



Black color preview on #5A5966 background

This text has black color on #5A5966 background.


White color preview on #5A5966 background

This text has white color on #5A5966 background.