Converters

Color Converter

Convert between hex, RGB, and HSL.

How to use Color Converter

Color Converter — Convert a color between hex, RGB, and HSL. Free to use in D2i DevTools — no account required.

Steps

  1. Fill in Color. This field is required.
  2. Click Run and copy the result under the form.

Frequently asked questions

What is Color Converter used for?

Use it when a design gives #1a73e8 and the code wants rgb() or hsl().

How do I use the free online Color Converter tool?

Fill in Color. This field is required. Click Run and copy the result under the form.

What can I paste or upload into Color Converter?

Paste #rgb, #rrggbb, rgb(r, g, b), or hsl(h, s%, l%). Channels are 0–255 and percentages are 0–100.

What output does Color Converter give me?

The same color as hex, rgb(), and hsl(). Alpha is not read on this page.

Is Color Converter free, and is my input private?

Yes — Your input is processed in memory for this request only. It is not saved to disk or the database, and it is cleared after the tool finishes.

Why do HSL numbers move by one?

HSL is rounded to whole degrees and percents, so a round trip can differ by a small amount.

Inputs are processed in memory only and are not saved to disk or the database. Data exists only for the duration of your request.