What color formats does this converter support?
It converts between HEX, RGB, HSL, and CMYK - the four most common color formats used in CSS, design tools, and printing.
Free online color converter to convert colors between HEX, RGB, HSL, and CMYK formats instantly. Copy values for CSS, design tools, and code with one click.
If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.
HEX is used in CSS and HTML. RGB is used in CSS and design software.
HSL is used in CSS for programmatic color manipulation. CMYK is required for print production.
Design work routinely crosses these formats - this converter eliminates the manual conversion step. Type or pick a color in HEX, RGB, or HSL and all four formats update together; CMYK is calculated as an output only, so it isn't a field you can type a value into directly.
Enter a color in HEX, RGB, or HSL, and instantly see the equivalent in all four supported formats - HEX, RGB, HSL, and CMYK. CMYK is a one-way output calculated from RGB; there's no HSB/HSV format and no CMYK input field.
Pick a color using the color picker or type a HEX, RGB, or HSL value.
All equivalent color values update instantly in every format.
Click copy next to HEX, RGB, HSL, or CMYK to grab the value you need.
A live color swatch confirms the exact color you are working with.
Type or pick a HEX brand color and copy the RGB or HSL equivalent for a CSS file that uses a different format.
Enter a screen RGB/HEX color to see its estimated CMYK values before sending artwork to a print vendor - then verify against their actual color profile.
Convert a base color to HSL, then adjust the Lightness slider to create lighter or darker variants for hover and active states.
Use the Image Color Picker to sample an exact color from an image, then paste its HEX code here to get the CMYK or HSL equivalent.
Once you have the HEX value you want, take it to the Color Palette Generator to build a full harmony-based scheme around it.
Best For
Input
#10B981 typed into the HEX fieldResult
RGB rgb(16, 185, 129), HSL hsl(160, 84%, 39%), CMYK cmyk(91%, 0%, 30%, 27%) - all shown and individually copyableEntering a value in HEX, RGB, or HSL recalculates all four rows together. CMYK is always the derived output in this direction - there's no field to type a CMYK value into in this tool.
Get the RGB or HSL equivalent of a brand HEX color for a stylesheet that uses a different format.
Convert a screen color to its estimated CMYK values as a starting point, then confirm with your printer's actual color profile.
Convert a base color to HSL and adjust the Lightness value to generate consistent hover or active-state colors.
Problem
Solution
This tool supports HEX, RGB, HSL, and CMYK only - there's no HSB/HSV (Hue, Saturation, Brightness) format, despite it being what Photoshop's color picker displays.
Problem
Solution
CMYK is calculated as an output only, from whatever HEX/RGB/HSL value is currently set - there's no way to type CMYK values in and see the equivalent RGB or HEX.
Problem
Solution
Only full 6-digit HEX values are accepted (e.g. #FFFFFF) - a 3-digit shorthand isn't expanded or recognized.
Problem
Solution
The CMYK values are a simple RGB-based estimate, not calibrated to any specific printer's ICC color profile - always verify against your actual print vendor before production.
Problem
Solution
There's no RGBA, HSLA, or 8-digit hex (#RRGGBBAA) input or output - only fully opaque colors are supported.
HEX, RGB, and HSL are all independently editable - start from whichever value you were given, and the other formats update automatically.
Use the generated CMYK values as a rough guide, then confirm the exact result with your printer's color profile before final production.
Adjusting only the Lightness value while keeping Hue and Saturation fixed is the fastest way to generate a matching lighter or darker shade.
Sample a real color with the Image Color Picker, convert it here, then build a full scheme in the Color Palette Generator.
The four supported formats are HEX, RGB, HSL, and CMYK - HSB/HSV (the format Photoshop's picker shows) isn't available as input or output.
CMYK values are calculated from whatever RGB/HEX/HSL color is set - there's no CMYK input field, so conversion only flows one way, into CMYK, not out of it.
There's no RGBA, HSLA, or 8-digit hex input or output - only fully opaque colors are handled.
Formats like OKLCH or LAB from CSS Color 4 aren't supported - only the four traditional formats are available.
Only full 6-digit HEX values work (e.g. #FFFFFF) - typing a shorthand like #FFF doesn't get expanded or recognized.
The conversion isn't calibrated to any specific printer's ICC color profile - treat it as a rough starting point, not a print-exact value.
This tool's CMYK output is a quick, uncalibrated RGB-based estimate - useful for a starting point, but not a substitute for a real print color profile.
| This Tool's CMYK Estimate | Color-Managed Print Conversion | |
|---|---|---|
| Method | Simple formula derived directly from RGB values | Calibrated against a specific printer/paper ICC color profile |
| Accuracy for production print | Rough approximation only | Accurate for the specific press and paper used |
| Best for | A quick starting estimate during design | Final production-ready print files |
Which should you use?
Use this tool's CMYK output to get a fast, rough sense of how a color will shift toward print - then verify the exact result with your printer's actual color profile before final production.
The most common question is why CMYK and RGB produce slightly different colors for the same values. RGB (Red, Green, Blue) is additive - colors mix toward white, used for screens. CMYK (Cyan, Magenta, Yellow, Key/Black) is subtractive - inks mix toward black, used for print. The same visual color cannot always be perfectly reproduced in both systems - the print and screen gamuts have different ranges.
It converts between HEX, RGB, HSL, and CMYK - the four most common color formats used in CSS, design tools, and printing.
Yes. Enter a color in HEX, RGB, or HSL format and the tool instantly shows all equivalent values in every other format.
CMYK is estimated from RGB values. For print production, always verify with your printer's color profile as screen and print color spaces differ.
Leave your email so we can prioritize similar tools and updates.
Trending tools will appear as visitors explore the catalog.
Your recently visited tools will show up here.