A total of 600 advertisements were sold for a certain magazine. If 20 percent of the first 200 sold were in color, 40 percent of the next 300 sold were in color, and 80 percent of the last 100 sold were in color, what percent of the 600 advertisements were in color?