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