text · colour

Hex ↔ RGB Colour Converter

One colour per line. #rgb, #rrggbb or #rrggbbaa → rgb()/rgba(); rgb(...)/rgba(...) → hex. Exact integer channels, lowercase hex; anything else is flagged on its line.

Workspace Files stay on your device
A little guidance. A better result.

How to use Hex ↔ RGB Converter

#rrggbb ↔ rgb(r, g, b), one colour per line, exact channels — anything else flagged.

  1. Prepare your input

    Enter one HEX or RGB colour per line.

  2. Use the workspace

    Review the converted channel values.

  3. Check your result

    Check the result in your design tool.

Know the limits

Unsupported colour syntax is flagged; this is not a colour-profile conversion.

Where does my input go?

This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.

Read the privacy details →
Made for the work in front of you.Report a problem ↗