All utilities

Colour converter

Convert hex and RGB colours to hex, RGB and HSL.

HEX#59744f
RGBrgb(89, 116, 79)
HSLhsl(103.8, 19.0%, 38.2%)
Use the codeJavaScript

Loading code…

Convert hex and RGB colours

Convert hex and RGB colours to hex, RGB and HSL.

How to use it

  1. Pick a colour, edit its hex value or adjust the red, green and blue channels. Copy any format from the live results.
  2. Copy or download the result before leaving the page.

What to know

Outputs hex, RGB and HSL. RGB channels must be integers between 0 and 255. Named colours, alpha and other colour spaces are unsupported.

Need to protect a message? Try text encryption ↗