Type RGB values and instantly get HSL. See HEX, RGBA and CMYK side by side. Click any format to copy.
✓ Accepts: 255, 128, 64 or rgb(255, 128, 64) or paste from anywhere
Everything runs in your browser - no colors are ever uploaded
Click any code - HEX, RGB, HSL or CMYK - and it's copied instantly, with a quick confirmation.
See HEX, RGBA, HSL and CMYK for the same color side by side, no extra clicks.
Type R, G, B separately, paste "rgb(255,128,64)" as a whole string, or use the picker and eyedropper.
No sign-up, no watermark, convert as many colors as you like.
Type R, G, B values directly, or use the color picker and eyedropper.
HEX, RGBA, HSL and CMYK values appear instantly below the preview.
Tap any code and it's copied straight to your clipboard, ready to paste.
RGB values (red, green, blue in 0-255) are converted to HSL (hue, saturation, lightness) by finding the largest and smallest of the three channels. For example, RGB(124, 58, 237) = hsl(262, 84%, 58%). This tool does the math automatically.
Enter your RGB values in any common format: rgb(255,128,64), 255, 128, 64, or 255 128 64. The tool is forgiving with spacing and punctuation. You can also use the color picker.
No. Every conversion happens locally in your browser. Nothing you type or pick is sent to a server.
Yes - use the HSL to HEX or HEX to RGB converters for the reverse direction, or any of the other format converters linked below.
No. Convert as many colors as you like, for free, with no account required.