#5a5a5a Color Information

In a RGB color space, hex #5a5a5a is composed of 35.3% red, 35.3% green and 35.3% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 0% magenta, 0% yellow and 64.7% black. It has a hue angle of 0 degrees, a saturation of 0% and a lightness of 35.3%. #5a5a5a color hex could be obtained by blending #b4b4b4 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 35
    • B 35
    RGB color chart
    • C 0
    • M 0
    • Y 0
    • K 65
    CMYK color chart

#5a5a5a color description : Very dark gray.

#5a5a5a Color Conversion

The hexadecimal color #5a5a5a has RGB values of R:90, G:90, B:90 and CMYK values of C:0, M:0, Y:0, K:0.65. Its decimal value is 5921370.

Hex triplet 5a5a5a #5a5a5a
RGB Decimal 90, 90, 90 rgb(90,90,90)
RGB Percent 35.3, 35.3, 35.3 rgb(35.3%,35.3%,35.3%)
CMYK 0, 0, 0, 65
HSL 0°, 0, 35.3 hsl(0,0%,35.3%)
HSV (or HSB) 0°, 0, 35.3
Web Safe 666666 #666666
CIE-LAB 38.242, -0, -0.004
XYZ 9.718, 10.224, 11.134
xyY 0.313, 0.329, 10.224
CIE-LCH 38.242, 0.004, 266.929
CIE-LUV 38.242, -0.002, -0.005
Hunter-Lab 31.975, -1.708, 1.738
Binary 01011010, 01011010, 01011010

Color Schemes with #5a5a5a

Monochromatic Color

Alternatives to #5a5a5a

Below, you can see some colors close to #5a5a5a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a5a5a Preview

Text with hexadecimal color #5a5a5a

This text has a font color of #5a5a5a.

<span style="color:#5a5a5a;">Text here</span>
#5a5a5a background color

This paragraph has a background color of #5a5a5a.

<p style="background-color:#5a5a5a;">Content here</p>
#5a5a5a border color

This element has a border color of #5a5a5a.

<div style="border:1px solid #5a5a5a;">Content here</div>
CSS codes
.text {color:#5a5a5a;}
.background {background-color:#5a5a5a;}
.border {border:1px solid #5a5a5a;}

Shades and Tints of #5a5a5a

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #020202 is the darkest color, while #f7f7f7 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5a5a

A tone is produced by adding gray to any pure hue. In this case, #5a5a5a is the less saturated color, while #b40000 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5a5a is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5a5a5a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #646262 Protanopia 1% of men
  • #6b5f63 Deuteranopia 1% of men
  • #636168 Tritanopia 0.001% of the population
Trichromacy
  • #605f5f Protanomaly 1% of men, 0.01% of women
  • #645d60 Deuteranomaly 6% of men, 0.4% of women
  • #605e63 Tritanomaly 0.01% of the population