Colour converter
RGB to HEX
Convert RGB color values to HEX instantly. Paste any RGB value into the free Color Converter and get the HEX equivalent (plus RGB, HSL, HSV, OKLCH and CMYK) with one click — all in your browser, nothing uploaded.
Example
#EF4444
RGB
rgb(239, 68, 68)HEX
#EF4444RGB to HEX on common colours
The same conversion run on colours from across the wheel, black and white included — the ends of the range are where formats differ most. Click a name for that colour’s full breakdown.
About the formats
RGB
RGB describes a color by its red, green and blue channels (0–255), e.g. rgb(59, 130, 246).
HEX
HEX is a 6-digit hexadecimal code (e.g. #3B82F6) — the most common way to write colors in HTML/CSS.