Skip to content

Hex to RGB Converter

Type a HEX color code and see its red, green and blue values at once. Short three-digit codes are expanded for you, and you can copy the result as CSS rgb() or as a Power Fx RGBA() formula for Power Apps.

Also known as: hex to rgb converter, convert hex to rgb, hex color to rgb, hex code to rgb.

HEX#742774
RGBrgb(116, 39, 116)
Power FxRGBA(116, 39, 116, 1)

Your data is processed locally in your browser and is not uploaded to our servers.

Features

  • Accepts 3-digit and 6-digit HEX codes
  • Live color preview
  • Copy rgb() and RGBA() with one click

How to use the Hex to RGB Converter

  1. Type or paste a HEX code into the HEX box.
  2. Read the red, green and blue values.
  3. Copy the format you need.

Examples

Pure red

#FF0000  ->  rgb(255, 0, 0)

Short HEX code

#0F8  ->  #00FF88  ->  rgb(0, 255, 136)

Frequently asked questions

What does each pair of HEX digits mean?

The first pair is red, the second is green and the third is blue. Each pair runs from 00 (none) to FF (full, which is 255).

Does it support 3-digit HEX codes?

Yes. A short code such as #0F8 is expanded to #00FF88 first.

Related tools