color - BGR end color of the line. The start color is the color of the last line draw call. The line is drawn in a smooth transition between the start and the end color. If NULL is given, no line is drawn, but the position is set for the start of the next line.