#28272A Color

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

Color preview

#28272A

Color formats

HEX
#28272A
RGB
rgb(40, 39, 42)
RGBA
rgba(40, 39, 42, 1)
HSL
hsl(260, 4%, 16%)
HSV
hsv(260, 7%, 16%)
CMYK
cmyk(5%, 7%, 0%, 84%)
CSS variable
--color-primary: #28272A;
Lowercase HEX
#28272a

Shades

Tints

Tones

Harmony

CSS snippets for #28272A

.color-28272a {
  color: #28272A;
  background-color: #28272A;
}

Frequently asked questions

What color is #28272A?+

#28272A is a HEX color with RGB value rgb(40, 39, 42) and HSL value hsl(260, 4%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #28272A?+

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