public Color GetClosestColor(int red, int green, int blue) |
Public Function GetClosestColor(ByVal red As Integer, ByVal green As Integer, ByVal blue As Integer) As Color |
The red component of the desired color. Must be between 0 and 255. |
The green component of the desired color. Must be between 0 and 255. |
The blue component of the desired color. Must be between 0 and 255. |
The closest color in the palette to the specified RGB value |
|