Capturing RGB Color of pixel Make a mutable image, as you do in case of screen capture and then allow the user to play with…