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

How do I make a dual-color line?

New Here ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

I'd like to create dual-color lines in Photoshop CS6. Specifically, black and white lines as shown in this graphic. As you can probably surmise from the graphic, the purpose of the black and white line is to allow the use of an "indicator line" (for want of a better term!) on any varying background without the line getting "lost" in the background at any point along its length: the line looks black on a white background, and it looks white on a dark background.

dual-color line.jpg

Views

3.7K

Translate

Translate

Report

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 , Feb 23, 2018 Feb 23, 2018

Hi

You could make a line with a black stroke and then add a layer style set to drop shadow - but set the shadow to white and blending mode screen.

Dave

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

Hi

You could make a line with a black stroke and then add a layer style set to drop shadow - but set the shadow to white and blending mode screen.

Dave

Votes

Translate

Translate

Report

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 ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

There it is!

Many thanks, Dave. There's no way I would have stumbled on that solution!

-Chris

Votes

Translate

Translate

Report

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 ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

You're welcome

Dave

Votes

Translate

Translate

Report

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 ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

drop.png

New Layer

Line tool, either Pixel or Shape

Layer Style > Drop Shadow. Color: White. Opacity. 100%; Distance 2 or more pixels

Votes

Translate

Translate

Report

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 ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

Vertical and horizontal lines can be made with the line tool with a pattern fill  made for the lines weight

with pattern fills you can create some crazy lines

You may be able to do something like that a deco scripted patterns Adobe Research » Deco Scripted Patterns in Photoshop

It also easy to draw straight line with a paint brush using a method where you click on end of the line move to the other and shift click.

you can stroke curved path so they can be made with two strokes.

JJMack

Votes

Translate

Translate

Report

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 ,
Feb 23, 2018 Feb 23, 2018

Copy link to clipboard

Copied

LATEST

Tried to use Photoshop deco script but could not come up with a pattern to draw a smooth black and white curved line.

JJMack

Votes

Translate

Translate

Report

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