Author Topic: How to amend forground colour to varied background?  (Read 509 times)

February 20, 2019, 02:13:06 AM
Read 509 times


  • Sr. Newbie

  • Offline
  • **

  • 4
  • Gender

I shold like to put a tjock text on a background with different colours. How can I suit the colour to the background, to get the complementary colours?  Just now I have only black-and-white,backround and I need a black-and-white text, with white letters on black background and black letters on the white background. It would be fine if this changing could happen even through the objects in the forground, so even the part of the letters could accomodate.
  • 0.92
  • Linux Mint 19.1 Cinnamon

February 20, 2019, 04:11:21 PM
Reply #1


  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,151
  • Gender


It can be done with filtering.
Filter needs the background image as a filtering source and/or the image filter primitive.
Thus for practical reasons it is useful to apply the "invert colours" filter to a whole layer.
Did that exactly in the attached file.

Good luck/sok sikert!
(6.44 kB - downloaded 82 times)

Edit: thumbnail looks off since using mesh gradient in the svg and the custom filtering doesn't help the rendering either with the browser.

February 21, 2019, 03:20:58 AM
Reply #2


  • Administrator

  • Offline
  • ******

  • 3,937
  • Gender

    • Inkscape Community
I don't understand what you're describing.  Could you show an example?

Is this something like what you mean (attached)?  If so, I think you could probably find a font like that.  I made that through a very labor intensive process of putting a rectangle behind each letter and switching the colors.  But there should be a font which has the backgrounds already applied.

But I have a feeling you're looking for something more than that?  Maybe something which automatically changes the colors for you?

Possibly a layer blend mode, or blend filter (which Lazur is already showing a filter)?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     

"Be ashamed to die until you have won some victory for humanity" - Horace Mann