1. A method of controlling a flash output for capturing an image in a portable electronic device having a digital camera, the method comprising: receiving light at an image sensor; determining a flash output adjusted for at least one of colour and brightness for adjusting the light received at the image sensor from the flash output; providing the flash output; and capturing a resultant image at a digital image processor.