swich colors min->green max->red