Automatically find the right palettes