You can check the RGB of any pixel on your screen with r,g,b = pyautogui.pixel(x, y) totalling 29 bytes.
However, it uses pyscreeze and it's broken, it's been acknowledged it's broken, confirmed it's fixed and yet is still broken and the author isn't/hasn't replied in months.
Some of these solutions run into hundreds of lines of code. While this isn't really an issue, there must be something similarly as easy as the broken pyautogui method.
How do I check the RGB of a pixel in the least number of bytes?
Note; I don't want to load a picture. I want to get the r,g,b of any single pixel on my screen in real-time.