Negatives

Negatives: After isolating the values for the red, green, and blue, you simply subtract each of these values from 255 and use this difference as your new values for red, green, and blue. You reconstruct the color and load it into your pixel array and there you go.