text · colour

RGB ↔ HSL Converter

One colour per line. rgb(r, g, b) → hsl(h, s%, l%) and back, exact integer output; anything else is flagged on its line.

Workspace Files stay on your device
A little guidance. A better result.

How to use RGB ↔ HSL Converter

rgb(r, g, b) ↔ hsl(h, s%, l%), one colour per line, exact integers.

  1. Prepare your input

    Enter one RGB or HSL colour per line.

  2. Use the workspace

    Review the converted colour channels.

  3. Check your result

    Check rounded values in your target colour picker.

Know the limits

Rounding can affect repeated conversions; this does not apply device colour profiles.

Where does my input go?

This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.

Read the privacy details →
Made for the work in front of you.Report a problem ↗