#28242F Color

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

Color preview

#28242F

Color formats

HEX
#28242F
RGB
rgb(40, 36, 47)
RGBA
rgba(40, 36, 47, 1)
HSL
hsl(262, 13%, 16%)
HSV
hsv(262, 23%, 18%)
CMYK
cmyk(15%, 23%, 0%, 82%)
CSS variable
--color-primary: #28242F;
Lowercase HEX
#28242f

Shades

Tints

Tones

Harmony

CSS snippets for #28242F

.color-28242f {
  color: #28242F;
  background-color: #28242F;
}

Frequently asked questions

What color is #28242F?+

#28242F is a HEX color with RGB value rgb(40, 36, 47) and HSL value hsl(262, 13%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #28242F?+

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