Color Converter (HEX, RGB, HSL, CMYK)

Convert colours between HEX, RGB, HSL, HSV and CMYK — paste any CSS colour or name.

Runs instantly in your browser — results update as you type.

How do I convert HEX to RGB?

A colour converter translates one colour between the formats used in design and code: HEX (#1e90ff) and RGB for screens, HSL and HSV for adjusting hue and lightness, and CMYK for print.

How to use the Color Converter (HEX, RGB, HSL, CMYK)

    Frequently asked questions

    What is the HEX code of a colour name?

    Type the name, e.g. "tomato", and the converter shows its HEX value (#ff6347).

    Is the CMYK value exact for printing?

    It is a standard mathematical conversion. Ask your printer for profile-specific values.

    Does it support transparency?

    Yes, 8-digit HEX and rgba() values keep their alpha channel.