I have a RGBA color like
255, 0, 0, 100
How can I get the RGB if it was put onto a white background? eg. this red would become lighter and be more like
255, 100, 100
And the same thing if it were put onto a black background.
Does this make enough sense?
Preferably c++
As an example to my comment: