IFlexCelPalette.NearestColorIndex Method
Returns the most similar entry on the excel palette for a given color.
Syntax
Namespace: FlexCel.Core
public abstract Int32 NearestColorIndex(TUIColor value)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
value | TUIColor | Color we want to use. |
Returns
Most similar color on the Excel palette.