At least one predominant color in a digital image is identified by
applying a detection rule to randomly-selected pixels in the image. The
detection rule includes testing specific colors to reduce the probability
of at least one of a false-positive outcome and a false-negative outcome.