Matting is a useful feature which allows you to swap out regions of transparency with a color of your choice, particularly useful when repurposing transparent PNG files.
To replace transparency with a color matte:
From the Edit menu, click Matte.
From the dialog, choose one of the following:
Custom Color—pick any color from the adjacent swatch using a pop-up HSL Color wheel.
Primary Color—uses the currently set foreground color from the Color panel.
Secondary Color—uses the currently set background color from the Color panel.
(Optional) Reduce the Opacity to limit the color strength.