Mr. Lim has a bag with some marbles colored red, yellow, green, blue, and white. The marbles are identical in number. If there are 40 marbles in the bag, how many marbles of each color are in a bag?

Since there are 40 marbles in total, and they are divided equally among the five colors, each color would have 40/5 = 8 marbles.

Therefore, there are 8 marbles of each color in the bag.