rgba2rgb() is a conversion function which takes in a background RGB color which is used to alpha blend with an RGBA image in the foreground. The default value for this background is white (255, 255, 255).