Read color of image

Hi,
How to read the color of image in uipath kindly provide sample workflow for that.

Regards,

I cant upload workflow,
but you can take a screenshot and save in an image
Using Assigns:

  • get the bitmap of the image - new System.Drawing.Bitmap(imgScreenshot)
  • get the colour of that pixel - bmpBitmapImage.GetPixel(1,1)
    This provides a RBG colour code - Color [A=255, R=255, G=255, B=255]

Hope that helps

2 Likes

how to use this expression