Method GetNearestColorIndex
GetNearestColorIndex(int)
Gets the index of the nearest color.
public int GetNearestColorIndex(int argb32Color)
Parameters
argb32Color
intThe 32-bit ARGB color.
Returns
- int
The index of the nearest color.
GetNearestColorIndex(Color)
Gets the index of the nearest color.
public int GetNearestColorIndex(Color color)
Parameters
color
ColorThe color.
Returns
- int
The index of the nearest color.