0

I have made a path in Photoshop and I created a shape. The shape has a dashed stroke. I want to paint every dash in an other color. How can I do that?

I tried changing the stroke color but I can only set or 1 color or a gradient. But I would like to change every 50px or so in an other color. Can someone tell me how to do that? Can I paint them, or should I create a new layer?

Thanks!

  • Thanks! I'm gonna do that, but how? ;) Should I change a second layer and paint it in the right colors and give it 'Overlay', or? – Jordy Oct 24 '14 at 18:29
  • Sorry, I deleted my comment, because I was going to write up a more detailed answer. This is probably a project better suited for Illustrator, but if you need to do it in PS, it can be done, it's just more of a hassle. – Manly Oct 24 '14 at 18:33
  • Thanks for the tip! I take a look to Illustrator. Could you perhaps help me a little bit in the right direction with Photoshop? – Jordy Oct 24 '14 at 18:43
1

As I said, a task better suited for AI, but this is how I would do this in PS. There may be a better way to go about this, but I don't use PS for this kind of stuff, so I don't know about it, if there is.

The initial shape:

enter image description here

I made a duplicate of the shape and decreased the Fill to 0%. This is the shape that I then applied my stroke to. I then selected every other dash with the Marquee Selection Tool.

enter image description here

With the selection still made, I created a Layer Mask, by clicking the icon at the bottom of the layers palette that looks like a Japanese flag. I duplicated the layer with the mask on it and then inverted the mask by clicking on the mask in the layers palette and hitting CTRL+I or CMD+I. This gives me two masked stroke layers, each showing the inverse regions of the other.

enter image description here

You can then recolor the strokes of these two layers the same as you would for the shape in the first place.

enter image description here

There may be better ways to accomplish this in PS, but like I said, I personally use AI for this kind of thing. PS is limited with its shape and stroke options.

  • Thanks for your help! I'm working in Illustrator now but I can't get it work in Illustrator too. Again, only the gradients, but not an option to paint a part of a stroke...:S – Jordy Oct 24 '14 at 19:58
  • I found the solution! smallbusiness.chron.com/… But many thanks for the help! – Jordy Oct 24 '14 at 22:20
  • In AI, you would need to use the Expand Appearance command, to convert the strokes to objects then recolor them. – Manly Oct 26 '14 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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