palettegen: Fill with last color, not black