I have been struggling to combine two ARGB values - despite a lot of reading e.g. here... How to mix two ARGB pixels?
I am not getting the result I am expecting - or what I am expecting is wrong; if someone could suggest a function to do this, it would be great.
I want to combine:
ColorA (red = 255, green = 255, blue = 0, alpha = 100)
ColorB (red = 0, green = 0, blue = 100, alpha = 200)
And output the value in Red, Green, Blue, Alpha format.
I am expecting an output as follows (the greenish central color):
Thanks so much for helping this foolish coder!