HEX / RGB Color Converter

HEX / RGB Color Converter: Convert hexadecimal color codes to RGB and back.

HEX / RGB Color Converter

HEX / RGB Color Converter: Enter #RGB, #RRGGBB or a CSS rgb(r, g, b) value to convert it to the other format.

Loading the tool...

✓ Your inputs stay in this browser

How to use HEX / RGB Color Converter

Enter #RGB, #RRGGBB or a CSS rgb(r, g, b) value to convert it to the other format.

Example

#0B7F67 corresponds to rgb(11, 127, 103).

What to know

This converter handles opaque RGB colors only. Alpha, HSL, wide-gamut color spaces and color profiles are not included.