After gathering precise measurements of the rotation and velocity of an incoming asteroid, two large clouds of white paintballs would be shot at the asteroid from a nearby spaceship.
FORBES: An Earth-Killing Asteroid Could Be Deflected With Paintballs