Hex to RGB Converter

Convert a HEX color code to RGB online free. Paste #3b82f6 or shorthand like #abc to get rgb() plus separate R, G and B values, with a live color swatch.

Runs in your browserNothing uploadedFree · no signup
RGBrgb(59, 130, 246)
R59
G130
B246

Frequently asked questions

What hex formats are accepted?
Both 3-digit (#abc) and 6-digit (#aabbcc) hex codes, with or without the # symbol.
Does it show a color preview?
Yes. A live swatch updates as you type so you can see the exact color.
Is the conversion done in my browser?
Yes. Colors are converted locally on your device — nothing is uploaded and there is no signup.