Color Converter

Last updated:

Pick a color or type a value to instantly convert between HEX, RGB, and HSL formats.

Runs entirely in your browser. Your files and text are never uploaded to any server.

Other converters and developer tools

Need a non-color conversion, like cm to inches or kg to lb? TheUnit Converter handles length, weight, and temperature. Dropping the resulting color value into a config or theme file? TheJSON Formatter & Validatorkeeps that file readable.

How to use the Color Converter

  1. Use the color picker, or type a HEX, RGB, or HSL value directly.
  2. All three formats update automatically to match.
  3. Click Copy next to any value to copy it.

Frequently asked questions

What color formats are supported?

HEX (e.g. #4F46E5), RGB (e.g. rgb(79, 70, 229)), and HSL (e.g. hsl(243, 75%, 59%)).

Can I type a value instead of using the picker?

Yes โ€” type a valid HEX code into the HEX field and press Enter or click away to sync all formats.

Related tools