Color Detection in AR (Unity)

Hello,

I am trying to detect the color of the wall and change it with new color using Augmented Reality. I am using OpenCV for now as I have tested that it can detect the RGB Colors.

I wanted to confirm, if OpenCV is the correct option for this project or there is any specific AR API available for color detection.

I am refereeing app like this:

Looking for suggestions and feedback !

Any sample code or tutorial available?