Lerp Color gradient off color

I’m making a gradient between two colors. The top left and right parts are what the color is supposed to be the lower line is what it is.


segment.Color = startSegmentColor:Lerp(endSegmentColor, segmentNum/10)

–segment number goes from 1-10 by 1


Because of how the ratio of the parts is, it looks funny. Considering your using segmentNum/10 then I recommend making each part 1/10 of a Stud to make it looks smooth.