Convert between HEX, RGB, HSL, and CMYK color formats. Essential tool for designers and developers.
Enter a color code in HEX (#FF5733), RGB (rgb(255,87,51)), or HSL (hsl(9,100%,60%)) format in the input field.
The entered color is automatically converted to HEX, RGB, HSL, HSV, and CMYK formats. You can visually confirm the color in the preview.
Click the 'Copy' button next to each format to copy the color code to your clipboard.
Supports HEX (#FF5733), RGB (rgb(255,87,51)), HSL (hsl(9,100%,60%))
HEX
#3B82F6CSS RGB
rgb(59, 130, 246)CSS HSL
hsl(217, 91%, 60%)RGB
R: 59, G: 130, B: 246HSL
H: 217°, S: 91%, L: 60%HSV
H: 217°, S: 76%, V: 96%CMYK
C: 76%, M: 47%, Y: 0%, K: 4%* CMYK/HSL/HSV values are rounded to integers. Round-trip conversions may differ by ±1-2.
Color Converter is an online tool that converts between various color formats used in web development and design. It supports major color formats including HEX, RGB, HSL, HSV, and CMYK, streamlining color specification in design tools and CSS. Conversion results are displayed in real-time as you type, and you can preview the actual color.
HEX represents colors in hexadecimal and is widely used in CSS. RGB specifies colors using the three primary colors of light: red, green, and blue. HSL represents colors by hue, saturation, and lightness, making it intuitive for color adjustments.
CMYK represents colors using four inks: Cyan, Magenta, Yellow, and Black. It's primarily used in printing. Since CMYK has a different color gamut than RGB, perfect conversion isn't always possible.
CMYK, HSL, and HSV values are rounded to integers, so round-trip conversions (e.g., HEX→HSL→HEX) may have errors of ±1-2. This is normal behavior.
Three formats are supported: HEX (#RGB, #RRGGBB), RGB (rgb(R,G,B)), and HSL (hsl(H,S%,L%)). The input format is automatically detected.
The current version does not support transparency (alpha values). Only opaque colors can be converted.