How many colors does bmp contain?

A 32 bit per pixel bitmap will have 8 bits each for red green and blue, and 8 bits for alpha level. So 2^24 colors.