Uipath and html element inspection

hello
I want to do an “if” for an element in the html inspection (if the background color = blue then…)
is there a possibility to do it with uipath ?