Skip to content

Converters

HEX to RGB Color Converter

Convert hexadecimal color codes to RGB or RGB color values to six-digit HEX.

Use the hex to rgb color converter

Result

Enter values, then select Convert.

How the hex to rgb color converter works

HEX accepts three or six hexadecimal digits, optionally preceded by #. RGB accepts three comma-separated whole numbers from 0 to 255. Alpha channels and CSS color profiles are not included.

How to use this tool

Enter the values in the labeled fields, select the operation where available, and calculate. Check the units and assumptions above before using the result. Reset restores the example inputs.

Is my input uploaded?

This tool processes inputs locally in your browser. It does not send the entered values to a calculation API or store them on our server.

Can I use it on a phone?

Yes. The tool works in a modern mobile browser without an account or installation.