Hex to RGB / RGB to Hex Converter
Convert between HEX, RGB, HSL, and CMYK color formats instantly with live color preview.
What is Hex to RGB / RGB to Hex Converter?
The Color Converter translates colour values between all major colour formats: HEX (#RRGGBB), RGB (Red, Green, Blue), HSL (Hue, Saturation, Lightness), HSV (Hue, Saturation, Value), and CMYK (Cyan, Magenta, Yellow, Key). A live colour preview updates in real time as you enter values.
Different tools and contexts require different colour formats. CSS uses HEX and RGB, design tools often use HSL, and print uses CMYK. Converting between formats manually involves complex mathematical formulas — this tool handles all conversions instantly.
Why Use Hex to RGB / RGB to Hex Converter?
Designers and developers constantly work across tools that use different colour formats. Converting a Figma HSL colour to CSS HEX, or a brand guide CMYK to web RGB, is a daily task that this tool handles in seconds without any manual calculation.
Key Features of Hex to RGB / RGB to Hex Converter
- ✓Converts between HEX, RGB, HSL, HSV, and CMYK
- ✓Real-time colour preview swatch
- ✓Copy any format value with one click
- ✓Accepts input in any supported format
- ✓Named CSS colour support
How to Use Hex to RGB / RGB to Hex Converter
- 1
Enter a colour value
Type a HEX code, RGB values, or any supported colour format into the input.
- 2
See all conversions
All equivalent values in other formats appear instantly alongside a colour preview.
- 3
Copy the format you need
Click 'Copy' next to the format you want to use (HEX, RGB, HSL, etc.).
- 4
Use in your project
Paste the converted colour value into your CSS, design tool, or code.