save/load palette v1

save and load a palette to local storage