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

2 colors in line

Community Beginner ,
Jan 06, 2022 Jan 06, 2022

Copy link to clipboard

Copied

Hi,

in illustratir, I have a circle with a line crossing it. The part of the line that is inside the circle I want in one color and the ends of the line that are outside the circle I want in another color. How do i do that?

 

thx

vered

TOPICS
Draw and design , Tools

Views

1.1K

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 , Jan 07, 2022 Jan 07, 2022

Or use Live Paint with the option for the Live Paint Bucket to Paint Strokes.

As long as it is a Live Paint object you can reposition the stroke.

1.png

Votes

Translate

Translate
Adobe
Community Expert ,
Jan 06, 2022 Jan 06, 2022

Copy link to clipboard

Copied

A couple of options:

1) Draw the line through the circle.

2) With the Scissors Tool cut the line where it intersects the circle

3) Select and recolor the appropriate line segments

4) If you wish, bring the circle to the front.

tromboniator_1-1641538642825.png

Alternatively, if you want to maintain a single line segment you may:

Draw the line and construct a two-color gradient adjusted to have the color changes match the intersections with the circle.

tromboniator_2-1641538797530.png

 

Peter

 

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 Beginner ,
Jan 07, 2022 Jan 07, 2022

Copy link to clipboard

Copied

Thank you!!
Now I actually have 3 cut lines that some are painted in black and the
middle one in red. how do I connect them to one line and apply
variablewidth profile 1 to it?

vered

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 ,
Jan 07, 2022 Jan 07, 2022

Copy link to clipboard

Copied

First Outline the stroke with the variable width and use Live paint to recolor.

Screenshot 2022-01-07 at 12.57.35.png

 

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 Beginner ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

Dear Ton

thank u very much

you help me so!!!

 

have a wonerful day 🙂

vered

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 ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

Good to hear that helped, Vered.

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 ,
Jan 07, 2022 Jan 07, 2022

Copy link to clipboard

Copied

Or use Live Paint with the option for the Live Paint Bucket to Paint Strokes.

As long as it is a Live Paint object you can reposition the stroke.

1.png

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 ,
Jan 07, 2022 Jan 07, 2022

Copy link to clipboard

Copied

Or with a variable width profile and an Opacity Mask. No need to outline the stroke, just 2 strokes on top of each other (see attached ai/pdf).

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 ,
Jan 08, 2022 Jan 08, 2022

Copy link to clipboard

Copied

And, just for grins, if the stroke widths permit, you can use a single path with multiple strokes and different width profiles:

tromboniator_1-1641689865991.png

tromboniator_2-1641689922540.png

 

Peter

 

 

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 Beginner ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

THX A LOT !!!!

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 ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

LATEST

And for my part, you're welcome, Vered.

 

Peter

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 ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

Always a pleasure to see the multiple solutions, Peter.

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 ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

Yes! I take great delight and appreciate the knowledge to be gained in seeing the variety of approaches to problems simple or complex. And the people aren't so bad, either!

 

Peter

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