apply colour to all visuals of the line class, closes #820.