TIvoryPalette::GetNearestColor

Returns the nearest color in the palette.

TColor __fastcall GetNearestColor(TColor c);

Description

GetNearestColor retrieves the color in the palette that most closely matches the specified color.

Back to TIvoryPalette