Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invert/negate color? #221

Open
AndydeCleyre opened this issue May 31, 2024 · 2 comments
Open

Invert/negate color? #221

AndydeCleyre opened this issue May 31, 2024 · 2 comments

Comments

@AndydeCleyre
Copy link

Hello, and thanks!

I don't understand much of color theory, but am trying to figure out where what I think of as "invert" or "negate" fits in to the functions provided by pastel.

My first guess was to rotate 180, but now think that that's equivalent to complement, which isn't the negation effect I'm seeking.

Can you provide any insight on color negation/inversion, as it relates to pastel's features?

Thanks!

@sharkdp
Copy link
Owner

sharkdp commented Jun 22, 2024

Are you maybe thinking negative in the sense of https://en.wikipedia.org/wiki/Negative_(photography)? I'm not sure if there is a principle theory behind that. You probably want to turn black to white? So maybe something like complement, but then also an inversion of the lightness channel?

@AndydeCleyre
Copy link
Author

AndydeCleyre commented Jun 24, 2024

Yes, I think so. Some examples of the effect I'm after:

  • Plasma desktop's effect: Invert
  • ImageMagick's option to convert: -negate
  • GIMP's Colors>Invert
  • Krita's Filter>Adjust>Invert
  • Photopea's Image>Adjustments>Invert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants