1. A method comprising using a processor to perform the steps of: accumulating (a) red/green and blue/green color ratio values of a plurality of pixels in a captured image for each cluster of a plurality of clusters and (b) a number of pixels having red/green and blue/green color ratios associated with each cluster, the clusters comprising daylight, fluorescent, incandescent, and a outdoor green zone; determining which cluster has a highest accumulated number of pixels; and using the cluster with the highest accumulated number of pixels to perform white balancing for the captured image.