Color converter: one color, every format
Result
Type a hex code or pick a color, or switch the input to RGB, HSL, HSV, CMYK or OKLCH, and read the same color in every format at once. Shades, tints and harmonies grow a palette from it.
Select any swatch to convert it.
Paste several hex codes, one per line or comma-separated. Each one becomes a swatch you can copy, and the set can be saved as a palette.
Choosing the right color model
Every color model describes the same visible colors, but each one makes a different task easy. Knowing which to reach for saves a lot of guesswork.
RGB and hex, for screens
RGB mixes red, green and blue light. It is how displays actually work, and hex is simply a shorter way to write the same three channels. Use them for anything that ends up on a screen. If you only need this one jump, the focused hex to RGB converter is the quickest route.
HSL and HSV, for adjusting
HSL and HSV both separate hue from saturation and lightness. That makes them the friendly models when you want to nudge a color: keep the hue, drop the lightness, and you get a clean shade. Designers reach for HSL constantly when building consistent scales, and reach for HSV inside color pickers. The hex to HSV and RGB to HSV converters cover that jump directly.
CMYK, for print
CMYK describes ink on paper: cyan, magenta, yellow and a key black. If your work is heading to a printer, CMYK is the model that matters, but always confirm against your print provider's profile before a big run. The focused RGB to CMYK and hex to CMYK converters handle the two most common ways that jump starts.
OKLCH, for even scales
OKLCH describes a color by perceived lightness, chroma and hue. Because its lightness tracks what the eye sees, two colors with the same L look equally light even when their hues differ, which makes it the dependable model for design tokens and shade scales. Modern CSS accepts it directly as oklch(). The hex to OKLCH and OKLCH to hex converters cover that jump in both directions.
Building a palette from one color
The harmonies under the readout are a practical shortcut. Start with a brand color, take its complementary for accents, and pull an analogous pair for softer supporting tones. The shade and tint strip gives you a ready made light to dark scale for backgrounds and borders. When you want a full set of five or more colors, Open in palette generator carries your color into the palette generator, locked in place while the rest of the palette is generated around it.
A worked example
Starting from #2563EB:
- RGB: rgb(37, 99, 235)
- HSL: hsl(221, 83%, 53%)
- HSV: hsv(221, 84%, 92%)
- CMYK: cmyk(84%, 58%, 0%, 8%)
- OKLCH: oklch(54.61% 0.2152 262.88)
Result: #2563EB in every model
Every value comes from the same input with no intermediate rounding beyond the two decimals used for display.
Frequently asked questions
Which color models does this converter support?
You can enter a color as hex, RGB, HSL, HSV, CMYK or OKLCH, and HueKit shows it in all of those plus CIELAB. Change any value and every other format updates instantly, so you always see the full picture of a single color.
Why does the converter include OKLCH?
OKLCH is the perceptual model from CSS Color Level 4 that modern browsers support directly. Equal steps in its lightness look equally different to the eye, which HSL cannot promise, so it is the model to reach for when you build a scale of shades or theme tokens.
Why do CMYK values look approximate?
CMYK is a print model and screens are RGB, so there is no single exact mapping. HueKit uses the standard naive conversion, which is fine for previewing. For production print, trust your printer's ICC profile.
What are complementary, analogous and triadic colors?
They are harmonies built by rotating the hue. Complementary sits opposite on the wheel, analogous sits just beside your color, and triadic spaces three colors evenly. They are a fast starting point for a palette.
Does the converter work offline?
Yes. All the math runs in your browser, so once the page has loaded you can keep converting with no network connection.
Related tools
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.