Inkscape.org
Beyond the Basics A Color-Inverting Object. Can this be done?
  1. #1
    Automatic_M. Automatic_M. @Automatic_M.

    Basically, what I want to make is an object/path which inverts the color of the stuff behind it.

    (so that if an object below is blue, it appears yellow, and if it is black it appears as white, etc.) wherever it overlaps with this other object.

    Thanks in advance.

  2. #2
    Polygon Polygon @Polygon🌶

    Have you checked Blendmodes on Layers already?

  3. #3
    David248 David248 @David248

    It may require a good knowledge of color coding and filters, imho.

  4. #4
    Polygon Polygon @Polygon🌶

    No rocket sience:

    Simply apply Blende mode:Difference to the object and make sure you have a white object in the background:

  5. #5
    Automatic_M. Automatic_M. @Automatic_M.

    I don't really know how to do that... (the whole applying blend modes to individual objects' thing)

     

    The way I made it work was by giving one layer the Difference blend mode and another one above it the Hue blend mode.

    Creating a white object on the layer with the hue mode on it did the trick, even if not as optimal.

     

    Still, thanks for the advice, now I know I can do that instead!

  6. #6
    Polygon Polygon @Polygon🌶

    Blend modes just work/calculate "against" something. Nothing aka Transparency will not work in the world of image editing.

  7. #7
    Automatic_M. Automatic_M. @Automatic_M.

    I just wanted to know how I could get my funny effect idea to work, and thanks you your help, I actually did it.

    What does "the world of image editing" have to do with any of that?

    It just feels a little out of topic, I appreciate the explanation on blend modes, tho

  8. #8
    Polygon Polygon @Polygon🌶

    As I explained already; Blendmodes need a background and foreground image/layer: https://en.wikipedia.org/wiki/Blend_modes

  9. #9
    David248 David248 @David248
    *
    Polygon

    No rocket sience:

    Simply apply Blende mode:Difference to the object and make sure you have a white object in the background:

    This is interesting, but doesn't exactly fit to the needs :

    Automatic_M.

    Basically, what I want to make is an object/path which inverts the color of the stuff behind it.

     

  10. #10
    Polygon Polygon @Polygon🌶

    The same procedure applies just in a different order:

Inkscape Inkscape.org Inkscape Forum Beyond the Basics A Color-Inverting Object. Can this be done?