ReducePalette - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

ColorTools

  

ReducePalette

  

reduce a large list of colors to a smaller, representative list

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

ReducePalette(colors)

Parameters

colors

-

list of colors in formats recognized by ColorTools or a Palette object.

opts

-

(optional) equation(s) of the form option=value where option is either number or space

Options

• 

number=positive integer - maximum number of colors to return, 20 by default

• 

space=string - the color space of the output color objects, "Lab" by default

Description

• 

This command reduces a large list of colors down to a small representative list of less than 20 colors.

Examples

(5.1)

(5.2)

(5.3)

(5.4)

(5.5)

(5.6)

(5.7)

Compatibility

• 

The ColorTools[ReducePalette] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

• 

The ColorTools[ReducePalette] command was updated in Maple 2020.

• 

The number and space options were introduced in Maple 2020.

• 

For more information on Maple 2020 changes, see Updates in Maple 2020.

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools:-Color

ColorTools:-ColorsFromImage

ColorTools:-Palette

ImageTools

 


Download Help Document