Color Converter

Convert between HEX, RGB, and HSL color values with an immediate preview.

Enter values

Converted color

Match one screen color across CSS formats

Paste a HEX, RGB, or HSL value to see equivalent numeric formats beside the preview. This is useful when a design file provides HEX but a stylesheet or animation uses RGB or HSL.

Alpha is preserved when supplied through four- or eight-digit HEX, rgba(), or hsla(). Named colors and CMYK are not converted.

About this tool

Enter values such as #ff0000, rgb(255, 0, 0), or hsl(0, 100%, 50%) and see all three formats. Short HEX and alpha values are supported.

Named colors and every CSS Color 4 syntax are outside this tool's scope. Use the displayed numeric values for reliable comparison.

Frequently asked questions

Is alpha supported?

Yes. Four- and eight-digit HEX, rgba, and hsla are supported.

Is the color saved?

No. Input is not stored.

Can it convert to CMYK?

No. This tool focuses on screen colors in the RGB family.

Related tools