Optional positions from zero to one, with one position per color. All colors are evenly spaced
when omitted or when the position count differs from the color count. Otherwise, non-finite
positions individually fall back to even spacing. Positions are clamped and sorted;
endpoint colors extend to the track edges.