@nithya One approach you can take is to use the Get Attribute activity. There are likely some attributes that will be common with the red color. Instead of specifically searching for the color itself, you can focus on identifying and leveraging those common attributes.
or
Please check this article.
Can we identify Color or image color using Uipath? - Help - UiPath Community Forum