Colour converter
Convert hex and RGB colours to hex, RGB and HSL.
HEX
#59744fRGB
rgb(89, 116, 79)HSL
hsl(103.8, 19.0%, 38.2%)Use the codeJavaScript
Loading code…
A LITTLE MORE CONTEXT
Convert hex and RGB colours
Convert hex and RGB colours to hex, RGB and HSL.
How to use it
- Pick a colour, edit its hex value or adjust the red, green and blue channels. Copy any format from the live results.
- 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 ↗