Vertical stripes?

Is there a way to use multiple colors to make stripes that run the length of a scarf?

Very new to this