The solder mask is usually the green coating on a PCB board. Solder mask usually covers everything on the PCB board except pads and vias. The primary purpose of the mask is to restrict the areas that will be covered with solder. It also protects panels from contamination, handling damage and possible electrical shorting during assembly and installation.