All Tools › Color Converter

Color Converter

Pick a color and convert between HEX, RGB and HSL.

Convert colours between HEX, RGB, and HSL

The same colour can be written several ways: a HEX code for CSS, RGB values for image editors, or HSL when you want to reason about hue, saturation, and lightness. Converting between them by hand is fiddly. This tool translates a colour across all three formats at once and includes a picker, so you can grab a shade and read it in whichever notation your work needs.

How to use it

  1. Enter a colour in any format, or use the picker.
  2. Read its HEX, RGB, and HSL equivalents.
  3. Copy the format you need.

When each format helps

Questions people ask

Why adjust colours in HSL? Because changing lightness or hue is a single, predictable tweak — far easier than nudging three RGB channels together.

Is anything uploaded? No — conversion runs in your browser.