Color Converter β HEX / RGB / HSL
Pick a color and convert between HEX, RGB and HSL instantly.
π Runs entirely in your browser. Your input and output are never sent to a server or stored β fully private.
About this tool
Pick a color with the visual picker or type a value, and this tool converts it between HEX, RGB and HSL instantly, keeping all three in sync. It is handy for web design and CSS, where you might have a HEX brand color but need the RGB or HSL equivalent for a stylesheet. Everything runs in your browser, with a live swatch so you can see the exact color.
Frequently asked questions
What is the difference between HEX, RGB and HSL?
They all describe the same colors in different ways. HEX and RGB both set the red, green and blue channels β HEX as a six-digit hex string, RGB as three 0β255 numbers β while HSL describes a color by hue, saturation and lightness, which makes it easier to tweak a shade by hand.
Does it support transparency or alpha?
This converter focuses on solid colors in HEX, RGB and HSL. To add transparency in CSS you can take the RGB values it gives you and write them as an rgba() value with the opacity you want.
Is my data sent anywhere?
No. Color conversion is done entirely in your browser, so the values you choose are never uploaded anywhere.