Method GetNearestColor
GetNearestColor(Color)
Returns the closest color in Palette that matches toTranslate
based on the color comparison algorithm defined by DistanceAlgorithm
public int GetNearestColor(Color toTranslate)
Parameters
toTranslate
Color