How to detect a color from a webpage screen

I need to detect a color from particular image which i already selected.

Hello there

I am not sure if UiPath is able to detect and output colorCodes.
However maybe you can use build-in activity: GET ATTRIBUTE

I have used it a few times myself - but only works, if the color is embedded in the img-filename.
Fx. img href=“ColorButtonGreen.gif”

Best of luck

Get attribute img-filename and check for color in filename (if possible)


There is no activity in UiPath to get color, we have custom package - color Detector - for getting color from web page or image.

Its only capturing the color based on x and y position. you can not get the color of mixing image color. only u can get the color which if fully occupied on the selection area.

Page for Ex.



Get position


Get color from Web

Srenivasan Kannan

1 Like

Hi @SrenivasanKanna ,

that link doesn’t work anymore, do you have any other option for someone who wants to detect a color in an image?