Please, don't use lines for this,
use (thinner) bars or dots instead.
I think what you want to do is to add steps to your color palette.
Make it a 2 step colouring red-green and then set the middlepoint as 0%. Then all below will be red and all above green.