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!