Retrieves the color of a pixel at the specified screen coordinates.
The X coordinate of the pixel.
The Y coordinate of the pixel.
The color of the pixel as a hexadecimal number.
import { PixelGetColor } from '@ahmic/autoit-js';const color = PixelGetColor(50, 50);console.log(color.toString(16)); // Output: "ff00ff" Copy
import { PixelGetColor } from '@ahmic/autoit-js';const color = PixelGetColor(50, 50);console.log(color.toString(16)); // Output: "ff00ff"
https://www.autoitscript.com/autoit3/docs/functions/PixelGetColor.htm
Retrieves the color of a pixel at the specified screen coordinates.