1. A method for reducing color artifacts in a digital image comprising a plurality of pixels, the method comprising: averaging a plurality of demosaiced color pixel values of a subject pixel with respective demosaiced color pixel values of adjacent pixels to compute average color pixel values in a first color domain; converting the average color pixel values to a second color domain; determining replacement color pixel values in the first color domain based at least in part on the average color pixel values in the second color domain; and replacing the color pixel values of the subject pixel with the replacement color pixel values.