I want to be able to tell if a pixel in a certain window on the screen is of a particular colour. So I used the pyautogui module\'s pixelMatchesColor() function . B
pixelMatchesColor()