ÆON Toolhub

Color Converter

Paste any color code and this free converter gives you the rest: HEX, RGB, HSL, HSV and CMYK, plus the nearest CSS color name. It accepts 3, 4, 6 and 8 digit hex, so transparency works too, and every value has a copy button. Everything runs in your browser.

HEX
RGB
HSL
HSV

hsv(12, 76%, 95%)

Photoshop and Figma call this HSB

CMYK

cmyk(0%, 61%, 76%, 5%)

Approximate, no ICC profile

What does this color converter do?

Paste a color in any format and get all the others at once: HEX, RGB, HSL, HSV and CMYK, plus the nearest CSS color name. This free converter from ÆON Toolhub also handles transparency, accepting 3, 4, 6 and 8 digit hex, and switching the output to rgba() and hsla() when alpha drops below 100%.

Every line has its own copy button, and the whole thing runs in your browser, so a client's brand colours never leave your machine.

How do you use it?

Pick or paste. Use the colour picker, or type a value into the HEX, RGB or HSL field. Those three work in both directions.

Set the alpha. Drag the slider for transparency. The preview sits on a checkerboard so you can actually see it.

Read the rest. HSV, CMYK and the CSS name update automatically as outputs.

Copy. One button per line.

Which format should you use, and when?

FormatUse it forLooks like
HEXCSS, design handoff, the default everywhere#F25F3A
RGBCSS with transparency, canvas, codergb(242, 95, 58)
HSLTweaking a colour by hand, design systemshsl(12, 88%, 59%)
HSVMatching what Photoshop and Figma showhsv(12, 76%, 95%)
CMYKPrint, sending a colour to a printercmyk(0%, 61%, 76%, 5%)
NameReadable stylesheetstomato

HSL is the one worth learning if you tweak colours by hand: because hue, saturation and lightness are separate, you can darken a colour without changing which colour it is, which is impossible to do intuitively in HEX.

What is the difference between HSL and HSV?

They share the hue angle but disagree about the rest. In HSL, lightness at 100% is always white, so the pure vivid version of a hue sits at 50%. In HSV (which Photoshop and Figma call HSB), value at 100% is the most vivid version of the hue, and you get white by dropping saturation instead.

That is why the same colour reads as hsl(12, 88%, 59%) and hsv(12, 76%, 95%). Neither is wrong; they are different coordinate systems over the same colour.

How does the alpha channel work in hex?

The last two digits of an 8-digit hex are the opacity. #F25F3A80 is the same coral at roughly 50%, because 80 in hexadecimal is 128 out of 255. The 4-digit form is shorthand for the same thing, so #abcd expands to #aabbccdd.

When alpha is below 100%, this tool outputs rgba() and hsla() instead of rgb() and hsl(), because that is what CSS expects.

An honest note about CMYK

The CMYK here is an approximation, and any tool that calls it exact is misleading you. It is calculated with the standard mathematical formula from RGB, which is perfect for communicating a colour or getting in the right neighbourhood.

What it cannot do is predict ink. Real print conversion goes through an ICC profile that accounts for the press, the paper and the ink, which is why Photoshop gives different numbers, especially in the blacks. Use these values to talk about a colour; use your printer's profile for the final artwork.

Where do the colour names come from?

The Name line compares your colour against the roughly 140 named colours defined in CSS and shows the closest one, telling you whether it is an exact match or just the nearest. The values are read from the browser's own colour table rather than a hardcoded list, so they always match what the browser will actually render.

Your work stays private

The converter is fully client-side. Colour values are never uploaded, logged, or stored, and they clear when you close the tab. It also keeps working offline once the page has loaded.

Frequently asked questions

What are HEX, RGB, and HSL?

They are three ways to write the same color. HEX is the six-digit code like #F25F3A used in CSS and design tools. RGB lists red, green, and blue values from 0 to 255. HSL describes hue, saturation, and lightness, which makes it easy to tweak a color by adjusting one property.

How do I convert HEX to RGB or RGB to HEX?

Just paste your color into the matching field. Type or paste a HEX code and the RGB and HSL versions appear instantly; paste RGB and you get the HEX and HSL. You can also use the color picker to choose visually. Every format stays in sync, so any input gives you all outputs.

Is the conversion exact?

HEX and RGB are two spellings of the same values, so that conversion is exact. HSL is calculated with the standard color formulas and rounded to whole numbers for readability, so converting to HSL and back can shift a value by one, which is normal and invisible to the eye.

Is it free and private?

Yes. The converter is completely free with no signup, and it runs entirely in your browser. No colors or data are uploaded or stored, and it keeps working offline once the page has loaded, so you can convert color codes anytime, even without a connection.

How do I convert HEX to CMYK?

Paste the hex code and read the CMYK line. The tool converts through RGB using the standard formula, giving cyan, magenta, yellow and black as percentages. Treat it as a reference value for print, not a proof: the ink that actually lands on paper depends on the press profile.

What is the difference between HSL and HSV?

Both start from the same hue angle, but they measure the rest differently. HSL ends at lightness, where 100% is always white. HSV ends at value, where 100% is the most vivid version of that hue. Photoshop and Figma show HSV, calling it HSB, which is why designers see different numbers.

How does an 8-digit hex code work?

The last two digits are the alpha channel, the opacity. So #F25F3A80 is the same coral at about 50% opacity, because 80 in hexadecimal is 128 out of 255. This tool accepts 3, 4, 6 and 8 digits, and switches the output to rgba() and hsla() whenever alpha is below 100%.

Why is my CMYK different from Photoshop?

Because Photoshop converts through a colour profile and this tool uses the plain mathematical formula. A profile accounts for the specific press, ink and paper, so its numbers differ, especially in the blacks. Use these values to communicate a colour, and your printer profile for the final artwork.

What does a 3-digit hex code mean?

It is shorthand where each digit is doubled. So #abc expands to #aabbcc, and #f00 is pure red. It only works when both digits of each channel match, which is why not every colour has a short form. The four-digit version adds the same shorthand for alpha.

Can I get the CSS colour name for a hex code?

Yes. The Name line shows the closest of the 140 or so named CSS colours, and says whether it is an exact match or the nearest one. It is handy for readable stylesheets and for recognising a colour you were handed as a raw code.

Last updated: September 17, 2026