1. A non-transitory computer-readable storage medium storing a program for execution by a processor, the program including instructions for separating an object in a digital image by performing the steps comprising: obtaining a digital image; receiving a selection of an object within the digital image; selecting a plurality of representative pixels estimated to be within the object; calculating a representative color from the plurality of representative pixels; selecting pixels of the digital image and for each pixel calculating a Euclidian distance to the representative color and, if the Euclidian distance is within a set threshold, identifying the pixel as belonging to the object.