Color Code Converter

Convert between HEX, RGB, and HSL color formats.

Frequently Asked Questions

It supports HEX, RGB, RGBA, HSL, HSLA, and HSV color formats.

Enter the HEX value (e.g. #FF5733) and select RGB as the output. The tool will give you the equivalent R, G, B values.

Yes. All output formats are valid CSS color values that you can copy directly into your stylesheet.

RGB defines red, green, and blue components (0-255 each). RGBA adds an alpha channel (0-1) for transparency. RGBA(255,0,0,0.5) is 50% transparent red.

HSL stands for Hue, Saturation, and Lightness. It is more intuitive than RGB for humans because you can adjust brightness and saturation independently.

Use a colour picker tool like the one built into Chrome DevTools, or a desktop app like ColorPicker (Mac) or PowerToys (Windows).

White is #FFFFFF (all channels at maximum). Black is #000000 (all channels at zero).