#021818 Color

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

Color preview

#021818

Color formats

HEX
#021818
RGB
rgb(2, 24, 24)
RGBA
rgba(2, 24, 24, 1)
HSL
hsl(180, 85%, 5%)
HSV
hsv(180, 92%, 9%)
CMYK
cmyk(92%, 0%, 0%, 91%)
CSS variable
--color-primary: #021818;
Lowercase HEX
#021818

Shades

Tints

Tones

Harmony

CSS snippets for #021818

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

Frequently asked questions

What color is #021818?+

#021818 is a HEX color with RGB value rgb(2, 24, 24) and HSL value hsl(180, 85%, 5%). Its closest CSS named color is Black.

What is the closest Tailwind color to #021818?+

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