ToolsGuru

Color Converter

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

HEX
RGB
HSL
CMYK
Preview
Formats
r
g
b
h°
s%
l%
c%
m%
y%
k%

CMYK values are an approximation for print.

Convert colors between HEX, RGB, HSL and CMYK

A color converter translates a single color between the notations used across the web and print. Our free tool converts freely among HEX, RGB, HSL and CMYK: enter a value in any one format or pick a color visually, and every other representation updates instantly alongside a live preview swatch. It removes the mental arithmetic of juggling color models so you can focus on design decisions.

Each model exists for a reason. RGB describes color as intensities of red, green, and blue light and is native to screens. HSL restates those colors as hue, saturation, and lightness, which makes tweaking shades and building palettes far more intuitive. CMYK models the cyan, magenta, yellow, and black inks used in physical printing, and seeing it helps you anticipate how a vivid on-screen color may soften on paper.

Designers, front-end developers, and print professionals all move between these formats constantly, whether matching brand colors, translating a Figma value into CSS, or preparing artwork for a printer. The built-in color picker lets you sample any color, the preview swatch confirms exactly what you chose, and one-click copying drops any format straight into your stylesheet or design file. Every calculation runs locally, so your work stays private and available even offline.

Why use Color Converter?

Four formats at once

See HEX, RGB, HSL and CMYK together and watch them all update the moment you change any single value.

Visual color picker

Sample any color with the built-in picker and confirm your choice with a live preview swatch.

Print-ready CMYK

Preview an approximate CMYK breakdown to anticipate how a screen color will translate to printed ink.

Copy-ready output

Grab any format with one click to paste directly into CSS, design tools, or print specifications.

How to use Color Converter

  1. 1

    Pick or type a color

    Use the color picker to choose a color visually, or type a value into the HEX, RGB, HSL, or CMYK field.

  2. 2

    Watch it convert

    Every other format recalculates instantly, and the preview swatch updates to match your selection.

  3. 3

    Fine-tune the shade

    Adjust the HSL values to nudge hue, saturation, or lightness until the color is exactly right.

  4. 4

    Copy your format

    Click copy next to whichever notation you need and paste it straight into your project.

Common use cases

Match brand colors

Translate a brand's HEX value into RGB or CMYK so it stays consistent across websites, apps, and printed materials.

Build CSS palettes

Convert design-tool colors into HSL to create harmonious light and dark variations for your stylesheet.

Prepare print artwork

Convert screen RGB colors to CMYK before sending files to a printer to reduce surprises in the final output.

Sample and document colors

Use the picker to capture a color and record every format for a style guide or design system.

Worked example: Brand teal from a print PDF to CSS

A café brand guide listed a teal as C72 M12 Y35 K8. The web team needed HEX for the website header. Converting via the closest RGB approximation produced a HEX they could paste into CSS. They compared it next to the printed napkin under shop lights and nudged the HEX because print and screen gamuts differ — the converter is arithmetic, not a spectrophotometer.

They also copied the `hsl()` form for a hover state that lightened lightness by 8% without leaving the hue.

Limitations

When not to use Color Converter

Features at a glance

Frequently asked questions

Which color formats can I convert between?

The tool converts freely among HEX, RGB, HSL and CMYK. Enter a value in any one format or pick a color visually, and every other representation updates instantly. This covers the needs of web developers, designers, and print professionals in a single interface.

What is the difference between RGB, HSL and CMYK?

RGB describes color as red, green, and blue light intensities and is used for screens. HSL expresses the same colors as hue, saturation, and lightness, which is more intuitive for adjusting tones. CMYK uses cyan, magenta, yellow, and black inks and is the standard model for physical printing.

Why might a screen color look different when printed?

Screens emit light using the RGB model, while printers mix inks using CMYK. CMYK has a smaller reproducible color range, so bright, saturated RGB colors can appear duller on paper. The CMYK output here gives a close approximation to help you anticipate and plan for that shift.

Can I use the color picker to sample a color?

Yes. The built-in color picker lets you choose any color visually, and the live preview swatch shows exactly what you selected. All numeric formats update in real time, and you can copy any of them to your clipboard with a single click.

Does this color converter work offline and keep data private?

All conversions are calculated in your browser using pure math with no server involvement, so nothing you enter is transmitted anywhere. After the page loads the tool keeps working without an internet connection, making it dependable for on-the-go design work.

Your privacy matters

Color Converter is designed to run in your web browser. File and text tools process bytes in memory on your device rather than uploading them to a ToolsGuru converter API. Network requests you still see are the page itself, analytics, and ads — not a copy of your document sitting in our logs. How we process files, and how to check.

Related tools you might like

Guides that go with this tool