Keyboard Shortcut to Fill on Opaque Pixels
Press Alt Shift Backspace (Mac: Option Shift Delete) to fill with the foreground color on only opaque pixels and not transparent pixels. Or Press Ctrl Shift Backspace (Mac: Command Shift Delete) to fill with the background color on opaque pixels.
Check out the latest Photoshop keyboard shortcuts here!
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!