Automate color detection on screen in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
Multi Color scans a screen region for configured colors, applies tolerance, and handles the match result.
Dialog & quick setup

- Add an Image › Multi Color command.
- Enter one or more hex colors (e.g.
#FF0000). Up to 10. - Adjust tolerance to accept near shades.
- (Optional) draw a region for faster scanning.
- Choose the action when found and set IF/ELSE labels. Save.
Options reference
Modes & when to use
Desktop Mode
Browser Mode
Runs in the background through Chrome CDP: RunMacro captures a page screenshot and scans that image, so it only sees content inside the page, not the rest of the screen. Search regions are converted from CSS coordinates to screenshot pixels.
Best for
- Detect state by color (green = ready, red = error).
- Find a button/bar with a distinctive color.
- Check if a region changed color before acting.
- Automate games based on color (health, mana...).
Use an alternative when
- Colors change heavily with theme or brightness and no useful tolerance can be set.
- The element should be identified by HTML structure.
Before you run
- The target color values are known.
- The target screen region is visible.
Example workflow
Example: wait for a green light then continue
- Get the green status color (e.g.
#22C55E). - Add Multi Color, enter the hex, moderate tolerance.
- Action none, IF label =
ready. - Put the next steps under the
readylabel.
Expected result: The command reports whether a color matched and performs the selected action or IF/ELSE branch.
Tips & limitations
Grab the exact color with a color picker first, then paste it into the command.
On-screen colors can drift due to theme/brightness — raise tolerance slightly if it misses.
- Displayed colors can shift with theme, brightness, or effects.
- Large regions and many colors can take more time to scan.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
