Aug-24-2022, 05:05 PM
(This post was last modified: Aug-24-2022, 05:09 PM by Gribouillis.)
It is plausible that Windows' RGB() function stores the red at the least significant byte. You could define
def RGB(r, g, b): return (((b << 8) | g) << 8) | r ... print(RGB(*color_code[0]))