Added a palette for distinct colors for > 40 lines.

Plus a quick implementation to color the lines.