Differentiate between an active and inactive button

How do you differentiate between a button that is active and inactive. For eg: my application has a Next button - it appears in blue when active and in grey when inactive. But eggplant is not differentiating between the grey and blue buttons. I tried increasing the tolerance but that doesn’t help.

You need to have images of it in both states. Usually you would care whether it was active or inactive and only click it if it was active, but if you don’t care, you can make a collection with images of it in both states. Then you can refer to the collection to find the button in either state.