Use a pre-calculated palette