Since Mr. Lim has an equal number of marbles for each color and there are 5 colors (red, yellow, green, blue, and white), we can find the number of marbles of each color by dividing the total number of marbles by the number of colors.
Total number of marbles = 40 Number of colors = 5
Number of marbles of each color = Total number of marbles / Number of colors = 40 / 5 = 8
Therefore, there are 8 marbles of each color in the bag.
Answer: 8 marbles of each color (red, yellow, green, blue, white).