python return rgb pixel image code example Example: how to get RGB value from pixel in screen live python import PIL.ImageGrab rgb = PIL.ImageGrab.grab().load()[x,y]