Improve generalization so as to handle any color.