If the start/end stop does not coincide with the start/end of the gradient, repeat the first/last color