They look a certain color because of their atmosphere. We only see the atmospherical surface of Mercury, and because we've never landed on it, we don't know what the land surface is. Same with the other planets, except for the gas giants, because they're gas and have no true surface color (except for the gas).
Mercury is gray because of the high amounts of molecular oxygen and sodium in it's atmosphere.