for each color step in the gradient, call this method and provide an absolute position between 0 and 1 and a color.