Color Converter

Convert colors between different formats including HEX, RGB, HSL, and CMYK

Input Color

Color Preview

Quick Tips

  • • HEX: Use # followed by 6 characters (e.g., #FF0000)
  • • RGB: Use rgb(red, green, blue) format (e.g., rgb(255, 0, 0))
  • • HSL: Use hsl(hue, saturation%, lightness%) format (e.g., hsl(0, 100%, 50%))
  • • CMYK: Use cmyk(cyan%, magenta%, yellow%, key%) format (e.g., cmyk(0%, 100%, 100%, 0%))

Frequently Asked Questions

Our tool supports conversion between HEX (#RRGGBB), RGB (Red, Green, Blue), HSL (Hue, Saturation, Lightness), and CMYK (Cyan, Magenta, Yellow, Key) formats.

Yes, you can use both 3-digit (#RGB) and 6-digit (#RRGGBB) HEX color codes. The tool will automatically convert between them.

Yes, you can convert colors with transparency using RGBA and HSLA formats. HEX colors with alpha channel (#RRGGBBAA) are also supported.

Our tool uses precise mathematical formulas for color space conversions, ensuring accuracy up to 2 decimal places for percentage values.