I've added support for writing ICC profiles to libicc:
gitlab.freedesktop.org/emersio

And then I've used it to generate an ICC profile to invert colors:
github.com/swaywm/sway/issues/

I think ideally I'd add a tool to convert ICC profiles from/to JSON files to make it easy to write your own profiles.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/emersion/statuses/114235333688532899 on your instance and quote it. (Note that quoting is not supported in Mastodon.)