Convert colors between HEX, RGB, HSL, and CMYK formats. Select your input type, enter the color, and see instant conversions with a live preview. A simple and reliable tool for developers and designers.
#3498db
rgb(52, 152, 219)
hsl(204, 70%, 53%)
67, 31, 0, 14
As a web developer or designer, colors are more than just aesthetics, they are part of your code workflow. Different platforms and tools prefer different color formats:
rgba() for transparency.hsl().This color converter makes it easier to switch between formats instantly. Enter your color, select the input type, and see how it looks in all major formats with a live preview. It’s perfect for testing, prototyping, or generating reusable CSS variables.
If you’re working on a new project and need more than just single colors, try our palette generator or build a palette directly from an image with the image to palette tool. Both are great complements to this converter.
Here are some sample colors you can try in the converter:
#ff5733rgb(255, 87, 51)hsl(11, 100%, 60%)0, 66, 80, 0Pro tip: Use HEX or RGB for web projects, HSL when creating dynamic color themes, and CMYK when moving your designs from screen to print. This ensures that your colors look exactly how you want, wherever they appear.