If Mr. Lim has a bag of marbles that are colored red, yellow, green, blue, and white, and they are identical in number, then we can determine how many marbles of each color are in the bag by dividing the total number of marbles by the number of colors.
There are 5 colors of marbles. The total number of marbles is 40.
To find out how many marbles there are of each color, we perform the following calculation:
\[ \text{Number of marbles of each color} = \frac{\text{Total number of marbles}}{\text{Number of colors}} = \frac{40}{5} = 8 \]
Thus, there are 8 marbles of each color (red, yellow, green, blue, and white) in the bag.