PGraphics color and saving

Reported issue https://github.com/processing/processing/issues/6094.