Color Converter

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

100% Client-Side

HEX

#3B82F6

RGB

rgb(59, 130, 246)

HSL

hsl(217, 91%, 60%)

Red

59

Green

130

Blue

246

Hue

217°

Saturation

91%

Lightness

60%

What is Color Converter?

A color converter translates colors between different formats including HEX, RGB, HSL, HSV, and CMYK. Designers and developers frequently need to switch between these formats when working across tools like CSS, Figma, Photoshop, and print design.

How to Use

  1. Enter a color value in any supported format (e.g., #FF5733 or rgb(255, 87, 51))
  2. See the equivalent values in all other color formats instantly
  3. Use the color picker to visually select a color
  4. Copy any format directly into your design tool or code

Frequently Asked Questions

What is the difference between RGB and CMYK?
RGB (Red, Green, Blue) is for screens and digital media, using additive color mixing. CMYK (Cyan, Magenta, Yellow, Key/Black) is for print, using subtractive mixing.
When should I use HSL instead of HEX?
HSL (Hue, Saturation, Lightness) is more intuitive for creating color variations. It's easy to make a color lighter, darker, or more muted by adjusting one value.
Why do some HEX codes have 8 characters?
8-character HEX includes an alpha (transparency) channel. For example, #FF573380 is the same color at 50% opacity. The last two digits represent transparency (00=transparent, FF=opaque).