Classifier for color illustrations by dominant colors