1. A computer implemented method comprising: obtaining a color census of a color image; selecting a color profile based on the color census; identifying one or more foreground areas of the image, the foreground areas comprising image areas containing colors that do not fit the color profile; and creating a clean reference image, wherein for each identified foreground area, a color is applied to the identified foreground area based on one or more colors of one or more non-identified image areas.