Imprimatura
Imprimatura is a first layer of paint applied onto white background (usually gesso). The paint can be diluted with turpentine or some other solvent to achieve a thin, transparent layer.
Imprimatura serves several purposes:
it helps to seal the porous background to prevent it from absorbing too much pigment from subsequent layers of paint, which might make them look dull;
it allows light falling onto the painting to reflect off the surface below and through the paint layers making colors more vibrant and accurate;
it harmonizes the painting creating a common color “theme”;
it helps with relative color and value matching, which might be difficult on a white surface;
dark imprimatura allows an artist to be more efficient, especially when working on a predominately dark painting.
Initially, I think, artists used imprimatura for tempera paintings to have a unified colored background showing through hatch-like application of the paint bring an artwork together. Besides, a lot of drawings were done on tinted paper, and imprimatura made canvas similar to a familiar drawing surface.
Imprimatura is usually transparent or semi-transparent. Most artists use earth pigments (neutral colors and quick drying time being obvious advantages), but you can use pretty much anything. I tried blue and purple imprimaturas; took forever to dry and the results were questionable, but it was fun.
Here’re some examples from old masters.