With the Background Erase Brush Tool, you can erase pixels of a similar color. This makes it useful for tasks such as erasing the background while leaving the foreground intact.
The following settings can be adjusted using a vertical tool slider:
The following settings can be adjusted from the context toolbar: