Skip to content

RGB to HEX

RGB, HSL or any CSS colour to HEX codes, many at once

Runs on your device

How to use RGB to HEX

  1. Type or paste your text into the box, or press Sample to see an example.

  2. Set the options (“Convert to”). Reset puts them back.

  3. Press Run, then copy or download the result.

About RGB to HEX

RGB, HSL or any CSS colour to HEX codes, many at once.

RGB to HEX: common questions

Is RGB to HEX free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is your text uploaded anywhere?

No. RGB to HEX works on this device only, so your text stays private. You can even turn off the internet once the page is open.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More design tools

All 46 design tools