How to detect a color from a webpage screen

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

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)

@mahalakshmis02

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

https://go.uipath.com/component/colordetector-01cabc

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.

stpes:-
color

properties:-

Get position

get%20positionn%20pro

Get color from Web
get%20screen%20color%20pr

Regards,
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?