HEX to RGB

Convert a hexadecimal color into RGB values.

  • Free
  • No sign-up
  • Instant results

1 Your input

2 Result

Your result will appear here

Fill in the form and press the button. Results show up right here, without reloading the page.

How to use HEX to RGB

  1. Enter the HEX colorType a six-digit code in the HEX color field, with or without the leading #, for example #0e8b78.
  2. Press Run HEX to RGBThe GigaTools server checks the code and splits it into its red, green and blue parts.
  3. Copy the rgb() valueThe result appears in CSS form, such as rgb(14, 139, 120), next to a colour swatch. Use the Copy button to reuse it.

Common uses

  • Converting a style guide hex code for design software that wants RGB
  • Building an rgba() value by adding your own opacity
  • Checking the channel values of a brand colour

Frequently asked questions

How do I use HEX to RGB?

1. Enter the HEX color: Type a six-digit code in the HEX color field, with or without the leading #, for example #0e8b78. 2. Press Run HEX to RGB: The GigaTools server checks the code and splits it into its red, green and blue parts. 3. Copy the rgb() value: The result appears in CSS form, such as rgb(14, 139, 120), next to a colour swatch. Use the Copy button to reuse it.

Does it accept short codes like #FFF?

No. The tool expects exactly six hexadecimal digits. Three-digit shorthand and eight-digit codes with alpha return a message asking for a six-digit code.

Does upper or lower case matter?

No. Both #0E8B78 and #0e8b78 are accepted and give the same result.

What does the output look like?

It uses CSS syntax, rgb(red, green, blue), with each channel as a decimal number from 0 to 255.

Where is my colour code processed?

The code is sent to the GigaTools server, converted there and shown on the same page. No third-party service is involved and no security check is needed.