DocsImageMulti Color

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

RunMacro Multi Color command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Multi Color command in RunMacro.
  1. Add an Image › Multi Color command.
  2. Enter one or more hex colors (e.g. #FF0000). Up to 10.
  3. Adjust tolerance to accept near shades.
  4. (Optional) draw a region for faster scanning.
  5. Choose the action when found and set IF/ELSE labels. Save.

Options reference

Colors (one or more, hex)

The colors to detect as #RRGGBB. Matching any one counts. Up to 10 colors.

Wait Mode

Appear: wait for color to appear on screen; Vanish: wait for color to disappear.

Tolerance

Allowed color difference. Larger = catches near shades; smaller = requires a close match.

Search region

Limit where to scan. Leave empty for the whole screen.

Action when found

None, move to it, click, double-click, or right-click at the matched pixel.

Retries + delay between tries (ms) / Timeout

Retries until color appears/vanishes or timeout expires (default 25 retries x 200ms = 5s timeout).

IF label / ELSE label

If found, jump to IF; if not found after retries, jump to ELSE.

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

  1. Get the green status color (e.g. #22C55E).
  2. Add Multi Color, enter the hex, moderate tolerance.
  3. Action none, IF label = ready.
  4. Put the next steps under the ready label.
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

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.