RGB to HEX
Convert RGB color lists into six-digit HEX palettes
Loading tool…
How to use this tool
Turn RGB channel lists into a compact HEX palette. Accepts CSS rgb() syntax or plain integer channel triples; the lower editor also supports a single HSL/HEX/RGB color.
Enter one RGB color per line or load Try palette example.
Choose Convert palette and check any line-specific validation error.
Copy the lowercase six-digit HEX values in the same order as the input.
Practical example
rgb(255, 136, 0) and 79, 70, 229 on separate lines become #ff8800 and #4f46e5.
Limits and troubleshooting
Channels must be integers from 0 to 255. Alpha, percentages and CSS variables are not accepted. Use comma- or space-separated channel triples and at most 1000 lines.
About RGB to HEX
Convert RGB channel triples or CSS rgb() lines to a HEX palette. Alpha and percentage channels are not supported. All processing happens directly in your browser — your files never leave your device.