
To apply a foreground color fill only to
the areas that contain pixels, press Alt+Shift+Backspace (Windows)
or Option+Shift+Delete (Mac OS). This preserves the transparency
of the layer. To apply a background color fill only to the areas
that contain pixels, press Ctrl+Shift+Backspace (Windows) or Command+Shift+Delete (Mac OS).