The formation of bile pigments.