So I made a layer that has white contents, then clicked "Lock transparent pixels" I then proceeded to use the eraser to remove some of the white areas which is to be replaces with a different color.
What I didn't realize is that erasing on a layer locked like that replaces the erased parts with a gray color and doesn't actually make it transparent. Now how can I select this gray erased area to replace it with a diff. color?