Applies a color to an element within a specified range based on a number value.