HEX to RGB

Type a HEX color code and convert it to RGB without uploading an image.

Processed locally

Convert a known three- or six-digit HEX code to its red, green and blue channel values. The # is optional, and short codes such as #0af expand to #00aaff. This is a text conversion, so no image is required. Use Image Color Picker when the starting point is a photo or graphic.

Why use this tool

  • Expand valid short HEX notation and obtain exact red, green and blue channel values.
  • Convert a code you already know instead of sampling or analyzing an image.
  • The complete operation runs locally in your browser without sending image contents or color values to ImageNexo.

How it works

  1. Type a valid three- or six-digit HEX code.
  2. Run the text conversion.
  3. Copy the resulting RGB channels.

How HEX becomes RGB

A six-digit HEX color stores red, green and blue as three base-16 pairs. Each pair converts to an integer from 0 to 255; for example, #ff8000 becomes RGB(255, 128, 0).

Three-digit shorthand repeats each digit before conversion. The current input accepts RGB colors only, not four- or eight-digit HEX values with an alpha channel.

Complementary image tools

Private by design

Your files stay on your device. Processing starts only when you choose an image, and nothing is stored on our servers.

Frequently asked questions

Are my images uploaded?

No. Processing happens locally in your browser, so your image files never leave your device.

Are short HEX colors supported?

Yes. Values such as #FFF and complete six-digit values are both accepted.

Do I need to upload an image?

No. Enter a HEX code directly. To find a code from an image, use Image Color Picker instead.

How is #7255EE converted to RGB?

The pairs 72, 55 and EE are converted from hexadecimal to the red, green and blue decimal channels.

Can I enter HEX without the # symbol?

Yes. Valid three- or six-digit input is accepted with or without the leading #.

Does HEX to RGB analyze an image?

No. It converts text input only. Use Image Color Picker to obtain a color from an image pixel.

Can I use the converter on a phone?

Yes. It is a text form that works in a current mobile browser.

Related image tools