COLOR #5A5A5A

HEX: #5A5A5A RGB: (90,90,90)

Color info

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

RGB color model

#5A5A5A color RGB value is (90,90,90).

RGB: (90,90,90) (35%, 35%, 35%)

RGB channels and saturation

R 90 of 255 = 35%
G 90 of 255 = 35%
B 90 of 255 = 35%

90
90
90

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

Portions of RGB colors in percentages

R + G + B = 90 + 90 + 90 = 270 (100%)
R 90 of 270 ~ 33.33%
G 90 of 270 ~ 33.33%
B 90 of 270 ~ 33.33'%

%33.33
%33.33
%33.33

CMYK color model

#5A5A5A color CMYK value is (0,0,0,65).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 64.71%

CMYK: (0,0,0,65)
C0M0Y0K65 (0%, 0%, 0%, 65%)
(0.00 / 0.00 / 0.00 / 0.65)

CMYK percentages

%0
%0
%0
%64.71

Codes

Color #5A5A5A in popluar color models

5A 5A 5A
RGB 90 90 90
HSL 0.00% 0.35%
HSB/HSV 0.00% 0.35%
CMYK 0.00% 0.00% 0.00%
64.71%

Color #5A5A5A in popluar number systems.

HEX 5A 5A 5A
Decimal 90 90 90
Binary 1011010 1011010 1011010
Octal 132 132 132

Shades and tints

Shades of #5A5A5A

#5A5A5A
(90,90,90)
#525252
(82,82,82)
#4A4A4A
(74,74,74)
#424242
(66,66,66)
#3A3A3A
(58,58,58)
#323232
(50,50,50)
#2A2A2A
(42,42,42)
#222222
(34,34,34)
#1A1A1A
(26,26,26)
#121212
(18,18,18)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #5A5A5A

#5A5A5A
(90,90,90)
#696969
(105,105,105)
#787878
(120,120,120)
#878787
(135,135,135)
#969696
(150,150,150)
#A5A5A5
(165,165,165)
#B4B4B4
(180,180,180)
#C3C3C3
(195,195,195)
#D2D2D2
(210,210,210)
#E1E1E1
(225,225,225)
#F0F0F0
(240,240,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #5A5A5A; }

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

This text font color is #5A5A5A.

Background Color

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

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

This div background color is #5A5A5A.

Border color

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

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

This div border color is #5A5A5A.

Opacity

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

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

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

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

This text has shadow with #5A5A5A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A5A5A.

Preview

Color preview on black background

This text has color #5A5A5A on black background.


Color preview on white background

This text has color #5A5A5A on white background.


Black color preview on #5A5A5A background

This text has black color on #5A5A5A background.


White color preview on #5A5A5A background

This text has white color on #5A5A5A background.


Related colors

Complementary color

Complementary color for #hex is #A5A5A5.


I love getcolorcode.com

Gradients

Color #5A5A5A is used in Dim Gray gradient.

Dim Gray