Never mind, I got it. All I had to do, was select the "ocean" region, reverse the selection so it would select all the landmass, with AA disabled, delete it. Then globally fill any of the transparent or landmass region with any colour (I selected gray). The result is exactly what I wanted.