#282031 Color

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

Color preview

#282031

Color formats

HEX
#282031
RGB
rgb(40, 32, 49)
RGBA
rgba(40, 32, 49, 1)
HSL
hsl(268, 21%, 16%)
HSV
hsv(268, 35%, 19%)
CMYK
cmyk(18%, 35%, 0%, 81%)
CSS variable
--color-primary: #282031;
Lowercase HEX
#282031

Shades

Tints

Tones

Harmony

CSS snippets for #282031

.color-282031 {
  color: #282031;
  background-color: #282031;
}

Frequently asked questions

What color is #282031?+

#282031 is a HEX color with RGB value rgb(40, 32, 49) and HSL value hsl(268, 21%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #282031?+

The closest Tailwind color is zinc-800, available as the bg-zinc-800 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