TExcelFile.NearestColorTheme Method
Returns the most similar entry on the theme palette for a given color.
Syntax
Unit: FlexCel.Core
function TExcelFile.NearestColorTheme(const value: TUIColor; out tint: Double): TThemeColor; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | value | TUIColor | Color we want to use. |
out | tint | Double | Returns the tint to apply to the theme color. |
Returns
Most similar color on the theme palette.