Aspose::Cells::Workbook::GetMatchingColor method

Workbook::GetMatchingColor method

Find best matching Color in current palette.

Aspose::Cells::Color Aspose::Cells::Workbook::GetMatchingColor(const Aspose::Cells::Color &rawColor)
ParameterTypeDescription
rawColorconst Aspose::Cells::Color&Raw color.

ReturnValue

Best matching color.

Remarks

There are only 56 colors in the color palette in Excel 97-2003. If the color is not in the palette, the similar color will be set.

See Also