Is it possible to access the color for any vertex of a static mesh?

I am trying to extract the 3D point cloud of a static mesh currently I am able to get the point positions, but not the color… Is it possible to access the color of a vertex?