Developer Tools / browser workspace

HEX / RGB / HSL Color Converter

Convert a solid HEX or RGB color into HEX, RGB, and HSL values.

Local processingNo accountRead the guide
Browser workspace

Loading interactive controls…

A quick start

How to use it

  1. Enter a three- or six-digit HEX value, or integer rgb(r,g,b).
  2. Convert and inspect the swatch.
  3. Copy the color values.
Examples, details, and limitations
Before you go

Common questions

How do I use the hex / rgb / hsl color converter?

Enter a three- or six-digit HEX value, or integer rgb(r,g,b). Convert and inspect the swatch. Copy the color values.

What should I check before using the result?

Solid sRGB colors only. Alpha, CSS named colors, and wide-gamut color spaces are not supported.

Is my input stored or uploaded?

No. Tool input stays in browser memory and is not sent to a server. Favorites and recent tool names are saved locally only. Reloading clears your input.

Keep going

The next tool in your workflow

All tools