HEX to RGB

Convert HEX color codes to RGB values.

Carregando ferramenta...

How to use

  1. 1Enter the HEX code.
  2. 2Click Process.
  3. 3Copy the RGB values.

About

Converts HEX code into RGB values, ideal for designers and developers working with colors.

How to convert HEX to RGB

UtilNexo's converter turns a HEX color code (like #FF0000) into the corresponding RGB values.

HEX represents the color in base 16; RGB uses three numbers from 0 to 255. The code #FF0000, for example, becomes RGB(255, 0, 0).

It is useful when you have a HEX color and need the RGB values for graphics, canvas, or tools that require that format.

Examples

  • #FF0000 → RGB(255, 0, 0).
  • #0080FF → RGB(0, 128, 255).

Limitations

  • 3-digit HEX codes (like #F00) are expanded to 6 digits before conversion.
  • Transparency (8-digit HEX) is not represented in plain RGB.

How to use the HEX to RGB converter

  1. 1Type or paste the HEX code.
  2. 2Click Process.
  3. 3Copy the generated RGB values.

Frequently asked questions

Do I need to include the # in the code?

No. The tool accepts the code with or without the # symbol.

How do I convert HEX to RGB manually?

Split the HEX into three pairs and convert each pair from base 16 to decimal (0-255).

What does each RGB number mean?

They are the intensities of red (R), green (G), and blue (B), from 0 to 255.