Color Mixing

Solve It

This time we will set both the red and green values of every pixel to 255, the highest value. We will not change the blue value.

Code It

var bb = new SimpleImage("duke_blue_devil.png"); for (var pp of bb.values()) { pp.setRed(255); pp.setGreen(255); } print(bb);

See It

 
 

Available Images


duke_blue_devil.png
[397x337]

Drop your images onto the area above to make it available within your code editor on this page. Note: your images will not be uploaded anywhere, they will stay on your computer.