Welcome to this AutoHotkey forum!
What should the quotation mark do?
You cannot make up your own syntax. You have to use what AHK provides. See the documentation and examples there. You can specify a color as well as a variation.
Example
If needed, you can do three searches, and then use the results according to what you need.
Code: Select all
CoordMode, Pixel
CoordMode, Mouse
For each, rgb in [0xBEA1A2, 0xC0A7AB, 0xBCA3A8]
PixelSearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, rgb,, Fast RGB
Until !ErrorLevel
If (x > "") {
MouseMove, x, y
MsgBox, 64, Success, % Format("{:#X} at ({}, {})", rgb, x, y)
} Else MsgBox, 48, Failure, Not found!