Added support for multiple lines of custom colors in the palette.