Click the green flag... Finds the closest colors to 5 presets and replaces them with a fixed color or transparent. I also cheated and localised one color band to the lower region of the screen to avoid the hat being caught up in a different color.