generate a material pallet for the image above