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.

Is it possible to paint only inside a stroke on illustrator? what i actually want to do is paint the same stroke with different colors in diferent segments of it but i can't do it...

Also... I've seen some tutorials that include editing a gradient but that would be very complicated and so would be to make a new stroke over this one, I just hope theres an easyer way XD

Edit per comment:

thats cool but not really what im looking for, what i want is lets say my stroke has the shape of a burger i want part of i to be bread color and part of it to be meat color... not one stroke over the other... i want something like this, imagine the jelly worm is my stroke:

enter image description here

share|improve this question
Possibly related: graphicdesign.stackexchange.com/questions/16910/… –  Scott Oct 31 '13 at 0:18

2 Answers 2

Simply apply the gradient to the stroke and adjust the options ....

stroke grad

Only possible in Illustrator CS6 or newer.

Make your own worms...... :)


Or the burger shape....


A gradient is the only way to have more than one color assigned to a single stroke. You can use the Appearance Panel to stack strokes of varying colors, but if you want one stroke to change mid-stream, so to speak, you must use a gradient.

share|improve this answer
i dont really want to make worms :D my stroke is really complex thats why I would like some other way than the gradient XD –  shoyle Oct 31 '13 at 21:24
I was just playing around. The principle of applying a gradient to the stroke will work for any number of things. :) Is there a reason this wouldn't work? –  Scott Oct 31 '13 at 22:01
ok... just in case... theres no way to group an image inside the stroke? –  shoyle Oct 31 '13 at 22:37
I'm not really sure I understand that. If you want a stroke around several objects, group the objects, then add a stroke in the Appearance Panel, move it below the "Content" and apply color and size to the stroke. See the "related" question I linked too in the comments above: graphicdesign.stackexchange.com/questions/16910/… –  Scott Oct 31 '13 at 22:39
@Scott you forgot a cheeseburger... :) –  Jenna Dec 14 '13 at 15:20

From what you are looking to do you would:

  • Create the text
  • In the Appearance Panel the default should be black but click white.
  • Create a gradient by going to Window > Gradient or Ctrl+F9
  • After creating the gradient drag it in the Swatches Panel.
  • Go back to the Appearance Panel and create a new fill layer under the fill color of your text, which should be white.
  • Select the gradient you created from the Drop down when you click the below fill
  • With the lower fill selected go to Effect > Path > Offset Path and mess with the settings.

It should take your gradient and make what appears as an outer stroke.


enter image description here

enter image description here

share|improve this answer
first of all thanks for the help, it is a good idea. bu my stroke is way more complicated than that, i will try to do what you sugested but if anyone knows any other way i'll be happy to learn –  shoyle Oct 31 '13 at 14:46

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.