Is there a way to add gradients or stripes to a material color?

Neat. I applied this coloring to a small demo: