Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I'm a relative novice with Illustrator and I am looking for the best way to make a line with multiple color segments. For example, here is my feeble attempt by just making three lines and trying to align them manually. I can not add an attachment as I do not have enough points yet, so here is a link to an example I created:


Notice that the segments are not connecting together smoothly. How can I make a line with multi-colored segments? Thanks for the help.

share|improve this question

4 Answers 4

up vote 6 down vote accepted

I think a simple way would be to use the scissors tool.

It is located in the same toolset as the eraser tool, click and hold that tile.

Then, click with the scissors where you want the breaks/color changes to take place... after cutting the path it should keep the line nice and smooth.

You can then easily change the color of each segment separately.

If you later decide to move the position, select both lines and then use cmd+J (join path) to stitch them back together. You'll lose the color, but you can easily cut the line again with the scissors and reapply it correctly.

You'll notice from the image below that you'll also get neat, straight lines at the join which are called the 'cap' of the stroke.

enter image description here

share|improve this answer
Totally forgotten about that. Good answer. –  KMSTR Jul 16 '12 at 14:53
thanks, I appreciate it! –  Chris Jul 16 '12 at 15:03
Genius! Thank you SO MUCH!!! –  turtle Jul 16 '12 at 15:03

You could add a gradient to the stroke in Illustrator CS6.

Simply set gradient stops to overlap each other by entering the same values in the "Location" field for multiple stops.


share|improve this answer

If you want to use this effect repeatedly and consistently, look up custom brushes. You can achieve some really great results there and you can use that same approach throughout your art with no duplicated effort.

share|improve this answer

This can be achieved by snapping the anchors to a grid as well as the handles that control the curves. The handles should also be identical or near identical for both endpoints.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.