Skip to content
ConvenTools

Color Converter — HEX, RGB, HSL

Runs in your browser — your files never leave your device

Convert a color between HEX, RGB and HSL and see it live. Paste any of the three formats or use the picker, then copy the value you need — it all happens in your browser.

HEX#0080ff
RGBrgb(0, 128, 255)
HSLhsl(210, 100%, 50%)

How to use it

  1. 1
    Enter a color

    Type or paste a HEX, RGB or HSL value, or use the color picker.

  2. 2
    Read the conversions

    The other formats update instantly, with a live swatch.

  3. 3
    Copy

    Copy the format you need with one click.

Three ways to write a color

HEX (#0080ff) is compact and common in CSS and design tools. RGB describes red, green and blue channels directly. HSL — hue, saturation, lightness — is intuitive for tweaking a color by hand. This tool keeps all three in sync.

Frequently asked questions

Is my input sent to a server?

No. The conversion runs entirely in your browser; nothing is uploaded.

Which formats are supported?

HEX (3- or 6-digit), RGB/RGBA and HSL/HSLA. Output is shown as HEX, RGB and HSL.

Does it handle transparency?

The picker and conversions focus on the color channels; alpha is not part of the HEX/RGB/HSL output here.