BMW has a few paint code locations, most commonly in the drivers door. Other models such as 5 Series are behind the drivers headlight (where you will replace the bulb), or older models may be found on top of the suspension mounting on the passenger side.

An BMW Colour Code is typically 3 or 4 digits long, but can also be a letter/number combination.