#2E5142 Color

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

Color preview

#2E5142

Color formats

HEX
#2E5142
RGB
rgb(46, 81, 66)
RGBA
rgba(46, 81, 66, 1)
HSL
hsl(154, 28%, 25%)
HSV
hsv(154, 43%, 32%)
CMYK
cmyk(43%, 0%, 19%, 68%)
CSS variable
--color-primary: #2E5142;
Lowercase HEX
#2e5142

Shades

Tints

Tones

Harmony

CSS snippets for #2E5142

.color-2e5142 {
  color: #2E5142;
  background-color: #2E5142;
}

Frequently asked questions

What color is #2E5142?+

#2E5142 is a HEX color with RGB value rgb(46, 81, 66) and HSL value hsl(154, 28%, 25%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #2E5142?+

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