Online Tool

Color Convert

Convert between hex, RGB, and HSL colors.

Everything runs in your browser. Files and text are not uploaded or saved.

Convert

#2f6bff
rgb(47, 107, 255)
hsl(223, 100%, 59%)

How to Use

  1. Enter #2f6bff, rgb(47, 107, 255), or hsl(221, 100%, 59%).
  2. The other formats appear when the color is valid.
  3. Copy all three lines.
  4. Reset returns to the sample color.

FAQ

What counts as a valid color?

A 3- or 6-digit hex color, rgb(), or hsl().

Are alpha values kept?

The opaque color is converted. Alpha is not shown.

What if the text is invalid?

The previous result is cleared and the error is shown.