How to invert colors of a picture on Mac?
I'm using macOS 10.13.
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Absent photo manipulation software (such as Photoshop, GIMP, Affinity Photo, PixelMator, Luminar) on a Mac you can use the inbuilt OS application called Preview for a lot of basic image manipulation stuff, and even the Photos app has a ton of tone-mapping and histogram editing you can do - but I don't recall there being a simple inversion filter or tool there. However, I know that in the Quartz filters built into the OS core graphics there definitely is such a tool, and I think you can still easily access those tools with the Colour Profiler Utility.
You might also look into Automator, which definitely allows access to that sort of thing absent specific software.
But to be clear - absent the kinds of tools we here at GD.SE use routinely and are expert in, this question becomes less appropriate for us, as we're graphic designers here - you might consider moving this question to [https://apple.stackexchange.com/questions] if you're insisting on doing this with only the tools natively available in the Mac OS.