get_matching_color method

get_matching_color(self, raw_color)

Find best matching Color in current palette.

Returns

Best matching color.


def get_matching_color(self, raw_color):
    ...
ParameterTypeDescription
raw_coloraspose.pydrawing.ColorRaw 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