updated the arc colouring based on dv to max_dv ratio