use palette for color change