HEX to RGB
Convert an ordered HEX palette into CSS RGB values
Loading tool…
How to use this tool
Convert an ordered HEX palette into CSS rgb() lines, then use the single-color editor for individual adjustments. This batch workflow preserves line order.
Enter one three- or six-digit HEX color per line, or try the palette example.
Choose Convert palette; fix the reported line if any entry is invalid.
Copy the converted palette. The single-color editor remains available below.
Practical example
#f80 followed by #4f46e5 produces rgb(255, 136, 0) followed by rgb(79, 70, 229).
Limits and troubleshooting
A batch accepts 1–1000 nonempty color lines. Four/eight-digit alpha HEX and named colors are rejected. One invalid row stops the batch so incomplete output cannot be mistaken for a complete palette.
About HEX to RGB
Convert a palette of three- or six-digit HEX colors to CSS RGB lines, preserving input order. Invalid rows stop the batch. All processing happens directly in your browser — your files never leave your device.