1. A method for analyzing the amount of stain on tissue specimens, comprising the steps of capturing a color image of a tissue specimen; gathering a background image; calculating a mean value in each band of a background image; randomly sampling a fixed number of points from the color image; performing a principal component analysis to obtain three vectors; and transforming the color image to a colorspace in which the colors of the colorspace show the type and amount of stain present.