line color change depending on the number of control points