According to a popular theory, beer is usually bottled in green or brown bottles because when they were stored in clear bottles and left in the sun for long, the beer developed a foul smell. This was because the glass allowed UV rays to penetrate and alter the beer's flavour. Darker coloured bottles were introduced to block out the rays.