Excel : "Image Exists"/"Find Image Matches" is unable to determine tab background colour

Scenario: I need to check the background color of excel sheet tab. I have tried the activities “Image Exists” and also “Find Image Matches”, but sometimes it detects correctly, sometimes it doesn’t. Could anyone please suggest how to implement this so that it works consistently?

Steps to reproduce: Start Node ------> Add activity Image Exists with input as image of excel tab with tab background=dark blue and output as a boolean variable ----> If condition to check if boolean returned is true or false ----- > Log message printing boolean variable

Current Behavior: Detects sometimes, doesn’t detect sometimes.

Expected Behavior: Should detect the background color of the tab every time.

Studio/Robot/Orchestrator Version:

Last stable behavior:
Last stable version:
OS Version: Windows 7
Others if Relevant: (workflow, logs, .net version, service pack, etc):

We have solved this issue using a custom DLL.

Could you please elaborate how to resolve this issue?

Thanks in advance

This means?