The main function of primers in decorating is to provide an even coating across a substrate (surface) and improve its adhesion to the substrate.