Gets the nearest color to the specified Color structure.
Assembly: System.Drawing (in System.Drawing.dll)
Creates an arbitrary color with ARGB coordinates (255, 165, 63, 136).
Creates a solid brush and sets its color to the specified color.
Fills an ellipse using the arbitrary color.
Creates a second color and sets its value to the nearest system ARGB color.
Fills a second ellipse with this color.
The result is two ellipses: the first drawn with the arbitrary specified color and the second drawn with the system color nearest the specified color.