How can I change colors on the input table based on numerical inputs?