How to return the pixel location corresponding to the cursor of an image

Hello all,

I’m trying to build a small tool, where I need the location and RGB value of a pixel of an image. I wanted to click on the image at the point and possibly get the values. Is there currently any way of doing it in Streamlit, or perhaps some extension ?

Thanks.