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