#7E798F Color

Inspect #7E798F across formats, palettes, contrast and closest named color matches.

Color preview

#7E798F

Color formats

HEX
#7E798F
RGB
rgb(126, 121, 143)
RGBA
rgba(126, 121, 143, 1)
HSL
hsl(254, 9%, 52%)
HSV
hsv(254, 15%, 56%)
CMYK
cmyk(12%, 15%, 0%, 44%)
CSS variable
--color-primary: #7E798F;
Lowercase HEX
#7e798f

Shades

Tints

Tones

Harmony

CSS snippets for #7E798F

.color-7e798f {
  color: #7E798F;
  background-color: #7E798F;
}

Frequently asked questions

What color is #7E798F?+

#7E798F is a HEX color with RGB value rgb(126, 121, 143) and HSL value hsl(254, 9%, 52%). Its closest CSS named color is SlateGray.

What is the closest Tailwind color to #7E798F?+

The closest Tailwind color is gray-500, available as the bg-gray-500 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools