Inkscape.org
Beginners' Questions Color discrepancies?
  1. #1
    MisterElection2001 MisterElection2001 @MisterElection2001
    🏆

    In Inkscape every shape is colored the same, however when I view it in my browser all but one of the shapes is much darker. I viewed the file in other browsers and I get the same issue, so it's not just my browser. I've noticed this problem on other projects I've worked on as well. What seems to be the issue?

    Screenshot 2023 10 22 134629
    Layout
  2. #2
    Polygon Polygon @Polygon🌶

    Check for any transparent color values perhaps.

  3. #3
    MisterElection2001 MisterElection2001 @MisterElection2001

    As in the opacity slider?

  4. #4
    Polygon Polygon @Polygon🌶

    Please check here:

     

  5. #5
    MisterElection2001 MisterElection2001 @MisterElection2001

    Yep, all of the values are the same.

  6. #6
    Polygon Polygon @Polygon🌶

    Mmh - can you put a white rectangle as a background behind everything and check if that makes any difference?

  7. #7
    MisterElection2001 MisterElection2001 @MisterElection2001
    *

    Just tried it and nope, no difference.

  8. #8
    Polygon Polygon @Polygon🌶

    I run out of guesswork. Can you upload the file by any chance?

  9. #9
    MisterElection2001 MisterElection2001 @MisterElection2001

    Sure. Thanks for the help!

    Layout
  10. #10
    Polygon Polygon @Polygon🌶
    *

    I can´t find any discrepancies. I deleted the clipping path and put everything on a Layer1 instead of root. Please check out: I zipped the file, the original file has 124k nodes going on and 1,8MB in size won´t upload properly from here for whatever reason.

  11. #11
    MisterElection2001 MisterElection2001 @MisterElection2001
    *

    Thank you, I just checked it and I'm still getting the weird colors. I guess it's just on my end for whatever reason.

  12. #12
    Polygon Polygon @Polygon🌶

    Bummer. 🤔

  13. #13
    Tyler Durden Tyler Durden @TylerDurden

    Reproduced here in Chrome but not FF. 

     

  14. #14
    Aero Aero @Aero◻️

    This is caused by the style color-interpolation:linearRGB

  15. #15
    Tyler Durden Tyler Durden @TylerDurden

    Agree. Search and replace with nothing resolves the issue.

     

    NB: The document can be cleaned to remove hundreds of unused clip objects, and many of the paths include infinitesimally small loops and shapes that may cause issues down the line. If there are issues popping up regularly, I'd break apart the paths and remove internal loops, and generally simplify the paths. Map data is handy, but usually has more information than needed for infographic uses.

  16. #16
    MisterElection2001 MisterElection2001 @MisterElection2001

    Thank you Tyler and Aero, it worked!