win32gui.GetPixel

int = GetPixel(hdc, XPos , YPos )

Returns the RGB color of a single pixel

Parameters

hdc : PyHANDLE

Handle to a device context

XPos : int

Horizontal pos

YPos : int

Vertical pos