Fill material with color of single pixel

If I have the UV, how would I go about using the color of a single pixel at that location to fill the material?

Thanks

Got it working, for anyone in the future that comes across this; I used the UV and added that to a texcoord node with scaling.