Here's the essence of the algorithm:
int xy = 2 * x + 3 * y;
bmHand.SetPixel(x, y, Color.FromArgb(xy % 239, xy % 241, xy % 251));
I'm constructing color values from x-y coordinates and prime numbers. (I might as well claim bonus credit for an INCORRECT use of a computer.)