A box contains 4 red, 3 white and 2 black balls, three balls are drawn at random. In how many ways can balls of different colors be selected?