Extract color from texture

Hey there!

Is it possible to access pixels to grab RGB color of certain X,Y in a texture?

Context:

I want the user to take a snapshot using front camera (there will be a silhouette to help aim properly)

The snapshot is then saved to texture

I want to access the texture pixels inside the silhouette (so at given X,Y points of the grabbed picture), and grab the RGB color of these points.

If not, can I somehow send my snapshotted picture using API to do the color grabbing elsewhere? I will then redirect my user to another website and show the results there.

Thanks!