1. A method of white balancing, comprising: (a) extracting prototype colors from an image; (b) for a first of said prototype colors comparing said first prototype color with a plurality of reference colors under a plurality of illuminants to select an illuminant; (c) repeating step (b) for each of said prototype colors extracted in step (a); and (d) combining the selected illuminants of steps (b)-(c) to determine color gains for said image.