To determine the cost of getting three gum balls of the same color, we need some additional information, such as the price of each gum ball and how many colors are available in the machine. Please provide this information to proceed with calculating the cost.