Added line color function