createHighlight function accepts color and range