Vector graphics are images ... If you could inspect the code contained in a raster image file, you would see that it tells the computer exactly which color to place in each pixel.