#28282B Color

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

Color preview

#28282B

Color formats

HEX
#28282B
RGB
rgb(40, 40, 43)
RGBA
rgba(40, 40, 43, 1)
HSL
hsl(240, 4%, 16%)
HSV
hsv(240, 7%, 17%)
CMYK
cmyk(7%, 7%, 0%, 83%)
CSS variable
--color-primary: #28282B;
Lowercase HEX
#28282b

Shades

Tints

Tones

Harmony

CSS snippets for #28282B

.color-28282b {
  color: #28282B;
  background-color: #28282B;
}

Frequently asked questions

What color is #28282B?+

#28282B is a HEX color with RGB value rgb(40, 40, 43) and HSL value hsl(240, 4%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #28282B?+

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