Sample the background you can see.
The first color starts from the top-left pixel. Click another opaque background pixel or enter its coordinates to sample a better match. For a painted checkerboard, enable the second color and sample its other tone. Start with low tolerance; higher values can erase subject colors close to the selected backgrounds.