HEX to RGB Color Converter

Convert between HEX, RGB, HSL, and CMYK color formats with a live preview.

Ad Space — horizontal (tool-top)
HEX

#3B82F6

RGB

rgb(59, 130, 246)

HSL

hsl(217, 91%, 60%)

CMYK

cmyk(76%, 47%, 0%, 4%)

Ad Space — horizontal (tool-mid)

How to Use the Color Converter

1. Enter a color in any format: type a HEX code (e.g., #3b82f6), RGB values (e.g., 59, 130, 246), or HSL values (e.g., 217, 91%, 60%).

2. Use the color picker next to the HEX input to visually select a color.

3. View all formats: The tool instantly converts your color to HEX, RGB, HSL, and CMYK formats.

4. Copy any format with a single click using the Copy button next to each value.

Ad Space — horizontal (tool-bottom)

Frequently Asked Questions

What is the difference between HEX and RGB?

HEX and RGB both represent colors using Red, Green, and Blue channels. HEX uses hexadecimal notation (#RRGGBB) while RGB uses decimal values (0-255) for each channel. They represent the same color space.

What is HSL?

HSL stands for Hue, Saturation, and Lightness. It is a more intuitive way to describe colors: Hue is the color angle (0-360 degrees), Saturation is the intensity (0-100%), and Lightness is how light or dark the color is (0-100%).

What is CMYK used for?

CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in print design. If you are preparing designs for printing, you will need CMYK values. Note that screen colors (RGB) may not perfectly match printed colors (CMYK).