What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Stroke that has 2 colors (not a gradient)


mosdl

New Member
Messages
3
Likes
0
So I am trying to create a shape that has a stroke with 2 colors (not a gradient).

In this case a star shape - right half has a black stroke, the left half has a white stroke. I tried created 2 shapes, one with a black and one with a white stroke and using subtract shapes to cut one of the shapes in half. Works fine, but the cut shape now has a stroke going down the middle of the shape.

Any one have any pointers?

thanks!
 
Make 2 layers of same side rasterizer top layer erase where stroke is paint over where you deleted merge layers
 
I know you said you didn't want to use a gradient, but that is exactly the tool you need to use.

Setup a linear gradient with 4 stops -- red, red, black, black as shown below. Then play with the angle of rotation (just below the gradient colors) to align the colors the way you want.

2013-02-10_23-44-23.png PhotoshopScreenSnapz001.jpg
 
The example you used with a gradient shows it is off centre. Why not have a have a shape that covers half the first star and use it as a clipping mask?
 
I doubt that rufi put a lot of time into this to center it, But this being Photoshop, we all know there are numerous ways to do this. Seems like all the methods described so far work. Another method would be to duplicate the layer, cut it down the middle (probably using the square marquis tool), then ctl/cmd click the thumbnail and fill it with the color. See, lots of ways to do this.

For that matter, just use the marquis on the object to cut it in half, make a layer above, and like spruce said, fill it with the color and clip it to your layer below.

STAR.PNG
 
Last edited:
I posted that at midnight just before going to bed; so no, I didn't put much time into it. That said, I like your method with the clipping mask better, claire. Good work.
 
It's just easier to set up. But it is good for any beginner, or even a regular user who is trying a new tool never used much, to learn what can be done using all these techniques. I avoided anything but the default gradients for years. Set the FG & BG and used default linear or radial for the most part. Honestly, I am such a newbie in some areas. It's only been a bit over a year since I learned how to manipulate them. When hoogle was explaining, he was probably shaking his head, "and we want to consider you for a moderator position? Lord help us!"
 
Thanks for the help, the gradient way is easy enough. I'll have to try the clipping stuff (which I have no idea about) for fun later.
 

Back
Top