Added color palette changing.