Trouble using Image Exists

Using the two images below, we want to determine whether Scroll Lock is enabled (blue background) or disabled (black background).

image
image

However, Image Exists recognizes both equally. Image Exists doesn’t seem to distinguish colors.

How can I solve this?

dows it work in element exist and check the selectors where colours are segregated by the RBG attribute or something

Hi,

Can you share the screen capture for the image selector.