IColorPaletteGetNearestColorIndex Method (Color)
Gets the index of the nearest color.

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
int GetNearestColorIndex(
	Color color
)

Parameters

color
Type: Aspose.PSDColor
The color.

Return Value

Type: Int32
The index of the nearest color.
See Also