Given a RGB color x, how to find the most contrasting color y?
- by Arthur Wulf White
I have to mark a certain item in a way that will make it stick-out in the background. I need it to be surrounded with the color that contrasts the background as much as possible so it will pop out and easily noticeable by the player.
Lets say I know the background is color 'x', how do I find 'y' such that it will be very contrasting to 'x' and…