Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

26 Apr 2007

Get the complement of a Color

Here is a simple function that returns the complement of a given Color

public static void GetComplement(Color color)
{
	return Color.FromArgb(int.MaxValue -- color.ToArgb());
}