Color converter

Type a color in any format and get every other format at once, ready to copy.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

HEX, RGB, HSL, HWB, LAB, LCH, OKLCH, CMYK or a CSS color name like “tomato”.

All formats

Edit any line: the others follow.

Preview

Contrast on white
Contrast on black
Closest CSS name

CMYK is a simple conversion with no print profile. Ask your printer for exact values.

How it works

  1. Enter a color

    Paste a color code in any format, type a CSS name, or pick one with the color swatch.

  2. Read every format

    HEX, RGB, HSL, HWB, LAB, LCH, OKLCH and CMYK update instantly. You can edit any line too.

  3. Copy what you need

    Copy a single value with its button, or copy all formats at once for your notes or style guide.

Frequently asked questions

How do I convert HEX to RGB?

Type or paste the HEX code, with or without the #, and the RGB value appears straight away. Each pair of HEX digits is one channel: red, green and blue from 00 to FF, which is 0 to 255 in RGB.

What is OKLCH and why use it?

OKLCH describes a color by lightness, chroma (colorfulness) and hue, in a way that matches how people perceive color. Changing only the lightness keeps the color looking like the same hue, which makes it great for building shades and design systems. Modern browsers support it in CSS.

Is the CMYK value ready for printing?

It’s a mathematical conversion without an ICC print profile, so it’s a good starting point but not a press-ready value. Printers use profiles that depend on the paper and the press. Ask your printer, or use their profile in your design software, for exact values.

Why does my color say it was adjusted?

Formats like OKLCH, LAB and LCH can describe colors more vivid than a standard screen (sRGB) can show. The converter maps those colors to the closest displayable color, keeping the hue, so that HEX and RGB stay valid.

Does it handle transparency?

Yes. Colors with an alpha value, like #3442d980 or rgb(52 66 217 / 0.5), keep their transparency in every format that supports it. CMYK has no transparency, so it shows the solid color.

Is my data sent anywhere?

No. All conversions run in your browser. Nothing you type is uploaded or stored.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.