Brand new iPhone 5 problems?

So I was taking a picture, and the camera wasn't focusing properly as it should do, and when it finally focused, there was like fuzzy lines coloured purple and the camera just turned itself off. I have got the phone a few weeks ago via apple online (UK), is it still under warranty? Please answer

Yeah It should be! Apple's warranty is usually 90 days to a year. Take it back to the Apple Store, they'll give you a new one.