Sampling Mapped Textures (Mesh)


I am wondering if there is any method or plugin to sample the colors of a texture mapped to a mesh. I am imagining this working like a closest point analysis, where the script or component can report what color exists at that point of the mesh’s mapped texture, but haven’t found a way to accomplish this yet. Thank you for any suggestions you may have!