littlekit.
Private by design

HEX ↔ RGB

HEX encodes three 8-bit sRGB channels in base 16; RGB shows them as decimal values.

Your inputs stay in your browser. No account required.
Loading tool controls…

How hex ↔ rgb works

HEX encodes three 8-bit sRGB channels in base 16; RGB shows them as decimal values.

Try an example

#ff0000 ↔ rgb(255, 0, 0).

Good to know

Opaque sRGB colours only. RGB channels may be rounded when converting to HEX.

Your privacy

Processing happens on this device. We do not upload your input, put it in share links or save it to your favourites. Closing this tab discards the working input; downloaded results remain wherever you save them.

A useful next step

Made for clarity. Built to be useful.Report an issue