Swelıty
Tools for everyone

Free Online Color Converter

Convert color values between HEX, RGB, HSL, HWB, CMYK, NCol, Tailwind, and Names. Features a visual preview, tonal palette, and native color picker.

How to use

  1. Type or paste a colour, or choose one with the colour picker.

  2. Check the preview swatch to make sure the colour is the one you meant.

  3. Press Copy next to the format you need.

  4. Click a shade in the tonal palette to copy its HEX code.

Why use this tool

  • Many formats

    HEX, RGB, HSL, HWB, CMYK and NCol, with the closest colour name and Tailwind class.

  • Transparency

    An alpha value, from 8-digit HEX or from rgb, hsl or hwb input, is carried into the results.

  • Tonal palette

    Eleven shades from 50 to 950, mixed with white or black, with your colour at 500.

About this tool

Color Converter shows one colour in several formats at once. Type a value as HEX (3, 6 or 8 digits), rgb(), hsl(), hwb(), cmyk(), NCol or a CSS colour name such as tomato, or use the colour picker. The tool shows HEX, RGB, HSL, HWB, CMYK and NCol, plus the nearest CSS colour name and the nearest Tailwind CSS colour. A ~ in front of a name means it is close, not exact. Under the results there is a scale of eleven lighter and darker shades based on your colour. The page opens with a blue as an example.

Frequently asked questions

It is a simple formula without a printer colour profile. Use it as a starting point, and ask your printer for the profile they work with before you print brand colours.

HEX, RGB, HSL and HWB are valid CSS. CMYK and NCol are shown for reference, and Tailwind is a class colour name, not a CSS value.

No. Tailwind names appear only in the results, as the nearest match to your colour.

HSL, HWB and CMYK results are rounded to whole numbers, so a value copied from them can differ by a step from the original.

No. Check text and background pairs with a contrast checker before you use them.