Color encyclopedia

#5a5a5a Color Information

In a RGB color space, #5a5a5a hex color 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 .


#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, 64.7
HSL 0°, 0, 35.3 hsl(0,0%,35.3%)
HSV(HSB) 0°, 0, 35.3
Web Safe 666666 #666
XYZ 9.718, 10.224, 11.134
xyY 0.313, 0.329, 10.224
CIE-LAB 38.242, 0.002, -0.005
CIE-LCH 38.242, 0.005, 296.813
CIE-LUV 38.242, 0, -0.007
Hunter-Lab 31.975, -1.706, 1.737
Binary 01011010, 01011010, 01011010

#5a5a5a Color Analysis

R-G-B component

Color Schemes with #5a5a5a

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.

#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 #5a5a5a;">Content here</div>
CSS codes
.text {color:#5a5a5a;}
.background {background-color:#5a5a5a;}
.border {border:1px solid #5a5a5a;}
.text-shadow {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, #050505 is the darkest color, while #f9f9f9 is the lightest one.

Tones of #5a5a5a

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