Text multiple colours from dropper not working

Post questions on how to use or achieve an effect in Inkscape.
eiger3970
Posts: 13
Joined: Wed Jul 13, 2016 7:28 am

Text multiple colours from dropper not working

Postby eiger3970 » Tue Mar 28, 2017 5:02 am

Hello, I'm having trouble colouring text different colours.
The text has no spaces and I need to use the colour dropper to select the colour.
The dropper removes the highlighted 1st 5 characters of text, stopping the 1st 5 characters having a different colour to the last 7 characters.
Last edited by eiger3970 on Wed Mar 29, 2017 1:18 am, edited 1 time in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Text multiple colours from dropper not working

Postby Lazur » Tue Mar 28, 2017 5:08 am

Hi.

That sounds like there are more than one objects involved.
Either the text was converted to path and you are using the dropper on a few selected characters only or there is a filtered object/layer somewhere above with a specific blending mode and filtering area etc.

Without a visual clue it could be anything.
Can you elaborate the working method and/or share the file in question?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Text multiple colours from dropper not working

Postby brynn » Tue Mar 28, 2017 7:30 am

Do you mean that you want each character of the text to have a different color, even though it's a single text object? I don't understand what you're describing. Maybe SVG file could help us understand?

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Text multiple colours from dropper not working

Postby Xav » Tue Mar 28, 2017 5:22 pm

I don't think you can do what you want by directly using the dropper tool - as you note, using the dropper de-selects the characters you had highlighted. There is a workaround, but it's slightly clunky:

  1. Open the Fill & Stroke dialog (Object > Fill and Stroke)
  2. Use the dropper tool, or the dropper icon at the bottom of the Fill & Stroke dialog to select your target colour. The dialog should update to the selected colour.
  3. Copy the RGBA value for the colour to the clipboard (from the box near the bottom right of the dialog).
  4. Switch to the text tool and highlight the characters whose colour you want to change.
  5. Back in the Fill & Stroke dialog, clear the RGBA field, then paste in the value you stored in the clipboard in step 3.

That said, experience has shown that it can be tricky to work with multi-coloured text like that. Just one mis-click and the whole object takes on a single colour once more. If it's practical to do so, I usually use separate text objects for each colour, grouping them together so that I can move or resize them as a single object.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

eiger3970
Posts: 13
Joined: Wed Jul 13, 2016 7:28 am

Re: Text multiple colours from dropper not working

Postby eiger3970 » Wed Mar 29, 2017 10:25 am

Thank you, the 5 steps worked.
I think the 5 steps is easier than the 2nd suggestion, which may require lining up text objects horizontally, which is another learning curve for me. Might be easier once I know how.

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Text multiple colours from dropper not working

Postby Xav » Wed Mar 29, 2017 5:29 pm

Aligning text objects is just a specific case of aligning objects in general, for which Inkscape has the Align & Distribute dialog. I cover it in some detail in part 38 of my tutorial series:

viewtopic.php?f=6&t=11981

In short, you just have to select the text objects to align, then click a single button.

Alternatively you could drag out a guide line from the ruler and enable the "Snap text anchors and baselines" option in the Snap toolbar. Then just drag the text objects close to the guide line and they'll snap into place along a common baseline.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter


Return to “Help with using Inkscape”