get_color method

get_color

Gets the palette color by index.

Returns

The color palette entry specified by the index.

def get_color(self, index):
    ...
ParameterTypeDescription
indexintThe palette color index.

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionif color palette index specified is out of the palette entries range.

See Also