Color Converter

Convert colors between HEX, RGB, and HSL formats with a visual color picker.

HEX#3b82f6
RGB59, 130, 246
HSL217, 91%, 60%
CSS rgb()rgb(59, 130, 246)
CSS hsl()hsl(217, 91%, 60%)

RGB

R
G
B

HSL

H
S
L

What are Color Formats?

Web colors can be expressed in several formats. HEX (#FF5733) is the most common in CSS, using hexadecimal digits for red, green, and blue channels. RGB (rgb(255, 87, 51)) specifies each channel as a 0-255 value, making it easy to understand color composition. HSL (hsl(14, 100%, 60%)) uses Hue (0-360ยฐ), Saturation (0-100%), and Lightness (0-100%), which is more intuitive for adjusting colors โ€” rotating the hue changes the color, while saturation and lightness control vibrancy and brightness.

How to Use This Color Picker & Converter

1

Enter a color in any format (HEX, RGB, or HSL) and see instant conversions to all other formats.

2

Use the visual color picker to select a color interactively. All format values update in real-time.

3

Copy any color value with one click to use directly in your CSS, JavaScript, or design tools.

Frequently Asked Questions

Related Tools