Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to recolour a section of a path

New Here ,
Jan 10, 2020 Jan 10, 2020

I have a shape path with a white stroke and a fill colour. I need to recolour parts of the stroke/line to a different colour to the rest. Please help!

6.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 10, 2020 Jan 10, 2020

Copy the object.

Give it no stroke

Paste the object in front and give it no fill. 

Use the scissors to cut the stroke into the segments you want to give another stroke color.

Translate
Adobe
Community Expert ,
Jan 10, 2020 Jan 10, 2020

Can you give a better idea of what you are trying to do? Is it something like this?

Screenshot 2020-01-10 16.10.35.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2024 Mar 28, 2024

Hello,
Could you please share how you made this, as I am trying to make something similar.
Thanks.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 28, 2024 Mar 28, 2024
LATEST

Go to Windows > Appearance

Set the stroke of the object to black

Apply an additional stroke on top of the black one and set it to red and also dashed.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 10, 2020 Jan 10, 2020

Copy the object.

Give it no stroke

Paste the object in front and give it no fill. 

Use the scissors to cut the stroke into the segments you want to give another stroke color.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 10, 2020 Jan 10, 2020

There are 2 methods I an think of. One is to simply Copy/Paste in Front. Then cut out the piece of path you want to change (on the top object) using the scissors tool, or simply adding points, and deleting the other points. Remove the fill from that portion and you'll be left with only the stroke over that one part, which you can change to whatever color you want.

Another method may be to Stroke with a Gradient, with the gradient recoloring just that portion of the stroke (this may not work well, depending on the particulars of the piece with which you're working). You can experiment with the gradient placement using the radial or linear gradient for this (linear would affect opposite ends of the stroke, radial could be managed over one portion), and also experiment with the color stops and transitions to get the edges as you want them.


Adobe Community Expert / Adobe Certified Instructor
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 11, 2020 Jan 11, 2020

There are 4 ways.

1. Create Dashed line for a stroke with different Stroke/Gap colors like SJReal suggests. It's good if you need just 2 alternating colors and sertain sizes of parts.

2. Create a gradient with the needed colors like S_Gans says (put stoppers as close as you can to have sharp edges of colored parts) and set it along stroke. Make sure to set all the stoppers in the same color space.

3. Separate filled object without stroke and stroked object without fill and cut ithe last one by scissors to get the needed pieces like Ton describes. The inconvenience is that you will have many separate objects. Don't forget to group the pieces to not lose any. 

4. Create an Art Brush. Draw the set of colored rectangles, convert it into a brush and set to your shape. In this case you can't use gradients, each partial rectangle must have a plain fill color.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2020 Jan 18, 2020

Thankyou all so much for your replies and suggestions! I think the cutting and pasting option will work best as I don't want a consistent pattern but instead to simply be able to change small sections of the path. Thank you all very much for your help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2020 Jan 18, 2020

Good to hear that helped!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines