manage line color with helper