Sound deadener

Was the sound deadener \ insulation inside the trunk on the quarters applied before or after painting?
I.E.....should it be black or body color?