improved lighter and darker color thresholds to retain at least some of the original color