modify the closest color algorithm to use deltaE