Turn palette into a list