Refactor Less method in HueSorter