#040118 Color

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

Color preview

#040118

Color formats

HEX
#040118
RGB
rgb(4, 1, 24)
RGBA
rgba(4, 1, 24, 1)
HSL
hsl(248, 92%, 5%)
HSV
hsv(248, 96%, 9%)
CMYK
cmyk(83%, 96%, 0%, 91%)
CSS variable
--color-primary: #040118;
Lowercase HEX
#040118

Shades

Tints

Tones

Harmony

CSS snippets for #040118

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

Frequently asked questions

What color is #040118?+

#040118 is a HEX color with RGB value rgb(4, 1, 24) and HSL value hsl(248, 92%, 5%). Its closest CSS named color is Black.

What is the closest Tailwind color to #040118?+

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