i can only use "var test = au3.PixelSearch(50,50,500,600, 0x1E1E1E,1);"
but when i try to show this var it only shows weird stuff
#Edit
i finally got it to work, for everyone who have the same problem , here is my solution:
#Edit2
the validate part was normaly only to check if the color exists but now i used it as a main part






