1. A method for performing a color gamut based white balancing of a digital image, the method comprises: generating candidates that have chromaticity value pairs within a chromaticity space in which a black body line is horizontal; determining at least one filtering parameter based upon a relationship between the candidates and color gamuts that are associated with different illumination conditions; wherein each candidate represents a pixel area; selecting selected candidates by filtering the candidates; wherein the filtering is responsive to at least one filtering parameter; calculating at least one white balance compensation parameter in response to pixel information of the selected pixel areas; and providing a compensated digital image by applying at least one white balance compensated parameter.