Add max threshold to color validator.