#FF

Color Converter

Convert colors between HEX, RGB, HSL, and CMYK — online color converter with live preview.

color-converter.tool
HEX
#3B6FE0
RGB
rgb(59, 111, 224)
HSL
hsl(221, 73%, 55%)
CMYK
cmyk(74%, 50%, 0%, 12%)
Nothing you enter here is ever sent to a server - conversion happens locally in your browser.
Overview

What is a color converter?

This tool converts colors between HEX, RGB, HSL, and CMYK instantly, with a live preview swatch and a color picker. Type a color in any of the three input formats, drag the RGB sliders, or use the picker - every format updates together.

Quick start

How to use this tool

  1. 1Type a color value in HEX, RGB, or HSL format, or click the color swatch to open a picker.
  2. 2Fine-tune with the individual Red/Green/Blue sliders if needed.
  3. 3All four formats (HEX, RGB, HSL, CMYK) update live - copy whichever one you need.
Where it helps

Common use cases

Converting a design tool's HEX color into the RGB or HSL syntax needed for CSS
Getting the CMYK values of a brand color for print materials
Fine-tuning a color visually with sliders while watching the exact values change
Quickly checking what a color code from a screenshot or style guide actually looks like
Good to know

Frequently asked questions

Why do HEX values sometimes shift by 1 after converting through HSL?

HSL stores hue, saturation, and lightness as rounded whole-number percentages, so converting RGB → HSL → RGB can introduce a tiny rounding difference (like 255 becoming 254). This is normal behavior in every color tool that supports HSL, not a bug.

What color input formats are recognized?

HEX (#RRGGBB or #RGB), rgb()/rgba(), and hsl()/hsla() - paste any of these directly into the text field and it will be parsed automatically.

Does CMYK conversion account for printer color profiles?

No - this uses the standard mathematical RGB-to-CMYK conversion, not a specific printer's ICC color profile, so treat CMYK values as an approximation for print rather than a color-managed exact match.

Is my color data sent anywhere?

No - all conversion happens locally in your browser.

quick_facts.json

{

"runs_in_browser": true,

"data_sent_to_server": false,

"signup_required": false,

"price": "free",

"category": "Converters"

}

Related tools

No signup
Timestamp Converter

Convert Unix timestamps to and from human-readable dates.

Open tool
JSON
No signup
CSV to JSON

Convert CSV files into structured JSON, with optional type inference.

Open tool
MD
No signup
Markdown to HTML

Render Markdown into clean, copyable HTML.

Open tool