I need to "rotate" colors depending on a certain dependency, how do I calculate this?
I'm using no program, just working with a bitmap in C#
Every pixel, which is
R:193,G:0,B:0 has to become
Now every other color needs to be switched in relation.
193/0/0 has a neighbor pixel with
205/48/48, what I'm searching is the relative neighbor pixel of
Is there a way to calculate this, without getting values above 255 and beneath 0?