| Keyboard Shortcut | Menu Shortcut | Menu Location |
| P | Alt+R, P | Raster -> Paint |
The Paint command fills all touching pixels of the same color with the current foreground color.
Activate the Paint command. Click on a color that you wish to replace. That pixel and all connected pixels of the same color will be replaced with the foreground color.
If a selected region is active, only pixels inside the selection can be painted over.