Copy color from image and assign it to a shape

Hi! Is there a way to pick the color from a image (an imported jpg for example) at certain point and then to asign it to a shape via vba?

I mean something like using color picker tool and take the color from a point but programatically ... like "select shape at point" at x and y coordinates.

Thank you in advance!