https://jsfiddle.net/s2L3ydrx/15/
but it just gets the color of the final path, and I don't know why.