Skip to main content
ToolsHub

Color Converter

Enter any color in HEX, RGB, HSL, HSV, or CMYK and instantly see all other formats. Large color preview swatch. Copy any format with one click.

Updated

Files never leave your browser

Enter a color to see conversions

Paste any HEX, RGB, HSL, HSV, CMYK value, or a CSS color name above.

How to use Color Converter

Convert colors between HEX, RGB, HSL, HSV, CMYK, LAB, and LCH formats instantly — all conversions happen in your browser. Paste any color value and get all equivalent representations at once. Useful for translating design tool values into CSS, converting brand colors between print (CMYK) and screen (RGB/HEX), and building design token systems.

  1. Enter a color value in any supported format: HEX, RGB, HSL, HSV, or CMYK.
  2. All equivalent values in every other format appear instantly.
  3. Click any format field to copy the value to your clipboard.
  4. Use the color preview swatch to visually confirm the conversion is correct.
  5. Try the batch mode to convert a list of colors at once.

Your data never leaves your device — 100% private processing.

Conversion accuracy and color spaces

RGB, HEX, and HSL all operate in the sRGB color space and convert between each other with zero data loss — they are mathematically equivalent representations of the same color. CMYK conversion is an approximation: RGB colors have a wider gamut than CMYK (which is a subtractive ink model), so bright neons and saturated blues cannot be perfectly reproduced in CMYK. LAB (CIELAB) is a perceptually uniform color space — equal numerical distances correspond to equal perceived color differences, making it ideal for color interpolation and accessibility analysis.

Practical conversion scenarios

Designers often need to convert Figma HEX values to CSS hsl() for easier theming (HSL lightness is the cleanest axis to manipulate programmatically). Print designers need RGB-to-CMYK for offset printing where screen colors must be matched to ink. Brand guidelines frequently specify Pantone or CMYK values that front-end developers must translate to HEX. The LAB format is used in data visualization when constructing perceptually uniform color scales where every step looks equally spaced to the human eye.

Worked examples

HEX to RGB and HSL

Inputs: #ff6347

Result: rgb(255, 99, 71) · hsl(9, 100%, 64%)

HEX to CMYK

Inputs: #3498db

Result: cmyk(76%, 31%, 0%, 14%)

Glossary

sRGB
The standard RGB color space for screens and the web — the default color space in CSS and HTML.
CMYK
Cyan-Magenta-Yellow-Key (Black) — a subtractive color model used in color printing.
CIELAB (LAB)
A perceptually uniform color space where equal numerical differences correspond to equal perceived color changes.
Color gamut
The range of colors a device or color space can represent — sRGB is narrower than P3 or ProPhoto RGB.

Related reading

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Related Color & Design

Explore all Color & Design.