1. A method for calibrating automatic white balance (AWB) in a digital system, the method comprising: using a plurality of references for AWB, wherein an AWB failure is detected in an image and wherein the references comprise color temperature references; generating a scene prototype reference based on the image; and adding the generated scene prototype reference to the references for AWB.