Color converter

Convert a list of colors between HEX, RGB, HSL, HSV, HWB, CMYK and CSS color names, with opacity, and copy all the results at once.

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

Your result

Enter your values.

More
Keyboard shortcuts

Sharing and starting over

A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

Keep the same color across formats

Each line is converted on its own into the format you choose, or into all of them at once. A line can be a CSS color name such as tomato, HEX with or without opacity, rgb() or rgba(), hsl() or hsla(), hsv(), hwb() or cmyk(). RGB uses whole channels from 0 to 255; HSL, HSV, HWB and CMYK use percentages. A color without a CSS name gets the closest one. An error names the line to fix and keeps the rest of your list.

Next: Color picker from image

Worked example

The lines tomato and cmyk(0%, 50%, 100%, 0%) become #FF6347 and #FF8000 when HEX output is selected; as CMYK, tomato is cmyk(0%, 61.2%, 72.2%, 0%).

Before you rely on the result

This converter uses sRGB. HSL, HSV, HWB and CMYK values are rounded for display, and eight-digit HEX keeps opacity. CMYK here is the plain formula of CSS Color 5, with no printer profile: it does not describe a real press's inks, so ask the printer for their values. CSS names have no opacity; the name describes the opaque color.

Next: Image resizer

Cite this page

ToolOctopus. “Color converter.” Updated . https://tooloctopus.com/color-converter.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

Find a tool

Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.