HEX to RGB

Enter a hex color (e.g. #FF5733 or FF5733). Get red, green, blue (0–255). We parse pairs of hex digits (RR, GG, BB).

Convert to RGB

Enter HEX and click Convert.

How it works

We parse pairs of hex digits (RR, GG, BB) and convert each to 0–255. Optional leading # is stripped.

When to use it

Use when a tool needs RGB and you have a hex code.

Frequently asked questions

  • Short hex (#FFF)? Some tools support #RGB by doubling each digit (F→FF). We expect 6 digits.