Skip to content
Devtoolry

Color Converter

Convert colours between HEX, RGB, HSL and CSS formats with a live preview.

About the Color Converter

The Color Converter translates colours between HEX, RGB, HSL and CSS notations with a live swatch, which is handy when design tokens, CSS and design tools use different formats.

Conversion happens in your browser, so your files and records stay private.

How to use the Color Converter

  1. Enter a colour in any format or pick one.
  2. Read the equivalent HEX, RGB and HSL values.
  3. Copy the format you need.

Frequently asked questions

Why use HSL?

HSL makes it easy to create lighter, darker or less saturated variants of the same hue by changing one number.

Are transparent colours supported?

Alpha values are supported in RGBA, HSLA and 8-digit HEX.