If I have the image below...how do I change the black color to something other color and green to something else in Gimp on linux?

|
feedback
|
|
http://www.gimp.org/tutorials/Changing_Background_Color_1/
| |||
feedback
|