ColorPalette.FindNearestIndex Method

Returns an index of the color in this palette closest to a given one.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public int FindNearestIndex(
	RgbColor color
)

Parameters

color

Type: Aurigma.GraphicsMill.RgbColor

A RgbColor to find.

Return Value

Th index of the palette entry which is closest to a given color.

See Also

Reference