HEX to RGB Converter

Convert HEX to RGB as you type — free, instant, with a worked example and a common-colors chart.

Type a HEX value and read the RGB value below it, or pick a color from the swatch.

Pick a color or type a value in any format.

Worked example

HEX #ff5733 = RGB 255, 87, 51

ff → 255 · 57 → 87 · 33 → 51

How the conversion works

  • A HEX code is the same three RGB channels written in base-16: two digits per channel, from 00 (0) to ff (255).

Common colors in HEX and RGB

ColorHEXRGB
Red#ff0000255, 0, 0
Orange#ffa500255, 165, 0
Yellow#ffff00255, 255, 0
Green#0080000, 128, 0
Cyan#00ffff0, 255, 255
Blue#0000ff0, 0, 255
Purple#800080128, 0, 128
Pink#ffc0cb255, 192, 203
Brown#a52a2a165, 42, 42
White#ffffff255, 255, 255
Gray#808080128, 128, 128
Black#0000000, 0, 0

Every conversion runs in your browser. Nothing you enter is uploaded to BroBroGo.

FAQ

How do I convert HEX to RGB?

Type or paste your HEX value above — the RGB value updates as you type. You can also pick the color visually with the swatch.

Is the conversion exact?

Yes — HEX and RGB are the same three channels written differently, so converting between them is exact in both directions.