Color Converter

Convert any color between HEX, RGB and HSL. Pick a color or type a value in any format, see it live, and copy the one you need. Free, no sign-up, in your browser.

or type any value below
#3B5BDB

HEX, RGB and HSL – what they mean

All three describe the same colors, just in different notations:

Because HSL separates “which colour" (hue) from “how light" (lightness), it is great for building tints and shades. Once you have a value here, check whether it is legible on your background with the color contrast checker, or build a whole scheme with its harmony generator.

How to use it

  1. Pick a color with the swatch, or type a value into HEX, RGB or HSL.
  2. The other two formats and the preview update instantly.
  3. Click Copy next to the format you need.

Everything is calculated locally in your browser – no color data is uploaded.

FAQ

HEX vs RGB vs HSL?

HEX and RGB are two notations for the same red/green/blue values. HSL instead uses hue, saturation and lightness, which is easier for adjusting a color.

Can I type a shorthand hex like #abc?

Yes. Three-digit hex codes are expanded automatically (#abc#aabbcc).

Is my color data private?

Yes – all conversion happens in your browser. Nothing is sent to a server.