Javascript image maps? Changing colour of clicked area?

Given the following tutorial: http://www.w3schools.com/js/js_image_maps.asp

Is it possible to change the colour of the image when clicked on? Suppose you click on a planet, can you change the colour of it (on that same image without creating or loading a new image)?