A repeating gradient on 45deg axe starting red and finishing green:
A repeating gradient on 190deg axe starting red and finishing green:
A repeating gradient on 90deg axe starting red and finishing green:
Note: Internet Explorer 9 and earlier versions do not support gradients.