Two color pattern fill

I am trying to fill an object with a two color pattern fill (vertical lines). I want the lines to appear black but i want to replace the background color with no color instead of white. Does anyone have any idea? Thank you in advance.