x\panel\to\color()

Turns any color string or an array of red, green, blue, and an optional alpha channel into a HEX color string.