Color Converter

Convert colors instantly between HEX, RGB, HSL, HSV, CMYK, and LAB formats with a visual color picker and HSL sliders. Generate harmonious color palettes using complementary, triadic, analogous, and other color theory schemes.

Color Picker

Supports HEX, RGB, HSL formats

HSL Adjustment
11°
100%
60%

Color Preview

Color Format Conversion

  • Hexadecimal color codes most commonly used in web development
  • Red, Green, Blue channel values (0-255)
  • Intuitive color model with Hue, Saturation, Lightness
  • Color model with Hue, Saturation, Value (brightness)
  • Cyan, Magenta, Yellow, Black color model used in printing
  • Perceptually uniform color space model

Type a HEX, RGB, or HSL value in any row to convert it to the other formats

Color Harmony

Generate colors that harmonize with your selected color

Harmony Type

Colors opposite on the color wheel that create strong contrast

Color Palette

  • #FF5733

    Base

  • #33DAFF

How to Use

  1. Use the visual color picker to select a color, or type a value directly in HEX, RGB, or HSL format in the input field
  2. All six color formats (HEX, RGB, HSL, HSV, CMYK, LAB) are calculated and displayed in real time as you adjust the color
  3. Click the copy button next to any format to copy the exact color value to your clipboard, ready to paste into CSS, design tools, or code
  4. Under Color Harmony, choose complementary, triadic, tetradic, split-complementary, or analogous to see a palette based on color theory, then click a swatch to use that color

Understanding Color Formats: HEX, RGB, HSL and Beyond

What this converter does

A single color can be written many ways, and this tool translates one color across six of them at once. Type a value as HEX, RGB, or HSL — or pick one with the visual color picker — and it instantly shows the equivalent HEX, RGB, HSL, HSV, CMYK, and LAB notation. The HSL sliders let you nudge hue, saturation, and lightness while every other format updates to match.

Because all six formats are derived from the same color rather than a fixed table, adjusting the picker or a slider recalculates the whole set in real time, so what you copy always reflects the exact swatch on screen.

When to reach for each format

Different jobs call for different notations. HEX and RGB are what you paste into CSS and most design tools; HSL is easier to reason about when you want a slightly darker or less saturated version of a color; CMYK matters once a design is headed for print; and LAB is useful when you need colors that look evenly spaced to the human eye. Having all six side by side means you can grab whichever one the task in front of you expects, without hunting for a second converter. Those values rarely stay on their own: an rgba() string is exactly what the CSS shadow generator needs for a soft drop shadow, and a single HEX code is what the theme-color tag from the meta tag generator uses to tint a browser's address bar.

Example: converting #FF5733

Take the orange #FF5733. As RGB that is rgb(255, 87, 51) — full red, a little green, less blue. As HSL it becomes roughly hsl(11, 100%, 60%): a hue near the red end of the wheel, fully saturated, at 60% lightness. Sent to print it maps to about cmyk(0%, 66%, 80%, 0%). Each notation points at the same swatch; they simply describe it with different numbers, and a copy button next to each one drops the value straight into your code or design file.

Format notes and edge cases

HEX and RGB carry identical information — #FF5733 and rgb(255, 87, 51) are the same color in different clothing — so converting between them never loses anything. HSL and HSV instead reorganise that information around human intuition, which makes them handier for tweaking a color than for storing it. CMYK is a print model with a narrower gamut than your screen, so its values are a close approximation rather than a perfect match, while LAB is device-independent and perceptually uniform. The HEX, RGB, and HSL results here can all be pasted straight into CSS.

Frequently Asked Questions

Every conversion is unlimited: switch a color between HEX, RGB, HSL, HSV, CMYK, and LAB as many times as you like, use the visual picker and the HSL sliders, and generate harmony palettes — none of it is gated behind a paid tier or a usage cap.