Neatbo.

Color converter

Same color. A different format.

Browser-local processingInputHEX / RGB / HSLOutputColor
  1. 1Add input
  2. 2Review and run
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run
0 characters · 0 bytes
Preparing the tool…

Before you start

Paste one HEX, RGB(A) or HSL(A) color and copy its equivalent HEX, RGB(A) or HSL(A) value. HEX shorthand and alpha are supported; decimal display values are rounded.

How to use this tool

  1. Paste content into “HEX / RGB / HSL”, or load the example to try it.
  2. Check your input, then select “Convert color”.
  3. Copy the format you need from its result row, or download the complete JSON.

Supported inputs and limits

Pasted text is limited to 1 MiB; review the result before using it.

Worked example

Example input

#f00
Example options
{}

Example output

{
  "hex": "#ff0000",
  "rgb": "rgba(255, 0, 0, 1)",
  "hsl": "hsla(0, 100%, 50%, 1)",
  "rgba": {
    "r": 255,
    "g": 0,
    "b": 0,
    "a": 1
  }
}

When something does not work

Use the documented input format and keep values within the displayed limits. Review the result before using it in another document or application. Editing the input marks the previous result as stale; a failed run clears it.

Frequently asked questions

Are my files uploaded?

No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

What should I check in this result?

HEX3/4/6/8, RGB(A) and HSL(A) are supported. Alpha stays between 0 and 1; inspect rounded CSS components in the target design.

Documentation & further reading

Related tools