COLOR #5A5857

HEX: #5A5857
RGB: (90,88,87)

Color info

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

RGB color model

#5A5857 color RGB value is (90,88,87).

  • red value is 90;
  • green value is 88;
  • blue value is 87.
RGB:
(90,88,87)
(35%,35%,34%)

RGB channels and saturation

R 90 of 255 = 35%
G 88 of 255 = 35%
B 87 of 255 = 34%

90
88
87

R + G + B ~ 35%. #5A5857 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 88 + 87 = 265 (100%)
R 90 of 265 ~ 33.96%
G 88 of 265 ~ 33.21%
B 87 of 265 ~ 32.83%

%33.96
%33.21
%32.83

CMYK color model

#5A5857 color CMYK value is (0,2,3,65).

  • cyan value is 0.00%
  • magenta value is 2.22%
  • yellow value is 3.33%
  • key color value is 64.71%
CMYK:
(0,2,3,65)
C0M2Y3K65 
(0%,2%,3%,65%)
(0.00/0.02/0.03/0.65)	

CMYK percentages

%0
%2.22
%3.33
%64.71

Codes

Color #5A5857 in popluar color models

5A5857
RGB908887
HSL20°1.69%34.71%
HSB/HSV20°3.33%35.29%
CMYK0.00%2.22%3.33%
64.71%

Color #5A5857 in popluar number systems.

HEX5A5857
Decimal908887
Binary101101010110001010111
Octal132130127

Shades and tints

Shades of #5A5857

#5A5857
(90,88,87)
#525050
(82,80,80)
#4A4849
(74,72,73)
#424042
(66,64,66)
#3A383B
(58,56,59)
#323034
(50,48,52)
#2A282D
(42,40,45)
#222026
(34,32,38)
#1A181F
(26,24,31)
#121018
(18,16,24)
#0A0811
(10,8,17)
#000000
(0,0,0)

Tints of #5A5857

#5A5857
(90,88,87)
#696766
(105,103,102)
#787675
(120,118,117)
#878584
(135,133,132)
#969493
(150,148,147)
#A5A3A2
(165,163,162)
#B4B2B1
(180,178,177)
#C3C1C0
(195,193,192)
#D2D0CF
(210,208,207)
#E1DFDE
(225,223,222)
#F0EEED
(240,238,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A5857 color. Also use rgb(90,88,87) instead hex code.

Text Font Color

.myTextColor { color: #5A5857; }

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

This text font color is #5A5857.


Background Color

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

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

This div background color is #5A5857.


Border color

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

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

This div border color is #5A5857.


Opacity

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

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

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

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

This text has shadow with #5A5857 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A5857 on black background.


Color preview on white background

This text has color #5A5857 on white background.



Black color preview on #5A5857 background

This text has black color on #5A5857 background.


White color preview on #5A5857 background

This text has white color on #5A5857 background.