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

2 colors in line

Community Beginner ,
Jan 06, 2022 Jan 06, 2022

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
2.0K
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 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

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

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

 

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

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

Screenshot 2022-01-07 at 12.57.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
Community Beginner ,
Jan 09, 2022 Jan 09, 2022

Dear Ton

thank u very much

you help me so!!!

 

have a wonerful day 🙂

vered

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

Good to hear that helped, Vered.

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 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

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

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).

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

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

 

 

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

THX A LOT !!!!

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

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

 

Peter

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

Always a pleasure to see the multiple solutions, Peter.

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

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

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