: How do you reverse a gradient from any one color to any other color If I have a gradient, know color a (primary) and b (secondary), how would I go about reversing said gradient so color
If I have a gradient, know color a (primary) and b (secondary), how would I go about reversing said gradient so color a instead transitions into an equivalent alpha that when layered over a pure background of color b would producing the starting gradient.
To further elaborate, say I have this gradient:
And I want to split to so that I have this instead:
Where if I overlay it with this:
I get back to this:
I have been only able to get it work with the primaries at best. My math doesn't seem to work on anywhere else but the calculator (will post if requested), any ideas?
EDIT: I should explain that the software in question is irrelevant, as this is a concept that I want to put into a plugin. The colors are in ARGB scale from 0-255 each (Ox12345678)
More posts by @Si6392903
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.