A 6.1 magnitude earthquake hit Colombia on Tuesday, shaking buildings in several cities including the capital Bogota.