Make different parts of the gun groups. Give the group a material named Grey1 for light grey, grey2 for darkers, grey3 for even darker, and so on. Then make matching 16x16 png files the same color as the groups. Save each PNG as the color it matches IE: The light grey png would be saved as Grey1. Then export.