AnalogousSpread - Maple Help

ColorTools

 create a number of nearby colors with hues spaced across 180 degrees

 Calling Sequence AnalogousSpread(color, number)

Parameters

 color - color format recognized by ColorTools number - positive integer; number of colors to return

Description

 • The command AnalogousSpread generates a list of evenly spaced colors across one half of the HSV color wheel. The input color will be included in the middle of the list.
 • If color is a shade of gray, then the empty list is returned.

Examples

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{AnalogousSpread}\left(\mathrm{Color}\left("HSV","Red"\right),3\right)$
 $\left[{⟨}\colorbox[rgb]{1,0,0.749019607843137}{{HSV : 0.875 1 1}}{⟩}{,}{⟨}\colorbox[rgb]{1,0,0}{{HSV : 0 1 1}}{⟩}{,}{⟨}\colorbox[rgb]{1,0.749019607843137,0}{HSV : 0.125 1 1}{⟩}\right]$ (1)
 > $\mathrm{greenspread}≔\mathrm{AnalogousSpread}\left("Green",11\right)$
 ${\mathrm{greenspread}}{≔}\left[{⟨}\colorbox[rgb]{0.501960784313725,0.376470588235294,0}{{RGB : 0.502 0.376 0}}{⟩}{,}{⟨}\colorbox[rgb]{0.501960784313725,0.501960784313725,0}{RGB : 0.502 0.502 0}{⟩}{,}{⟨}\colorbox[rgb]{0.376470588235294,0.501960784313725,0}{RGB : 0.376 0.502 0}{⟩}{,}{⟨}\colorbox[rgb]{0.250980392156863,0.501960784313725,0}{{RGB : 0.251 0.502 0}}{⟩}{,}{⟨}\colorbox[rgb]{0.125490196078431,0.501960784313725,0}{{RGB : 0.125 0.502 0}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0}{{RGB : 0 0.502 0}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.125490196078431}{{RGB : 0 0.502 0.125}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.250980392156863}{{RGB : 0 0.502 0.251}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.376470588235294}{{RGB : 0 0.502 0.376}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.501960784313725}{{RGB : 0 0.502 0.502}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.376470588235294,0.501960784313725}{{RGB : 0 0.376 0.502}}{⟩}\right]$ (2)
 > $\mathrm{HSVColorWheel}\left(\mathrm{greenspread}\right)$

Compatibility

 • The ColorTools[AnalogousSpread] command was introduced in Maple 16.
 • For more information on Maple 16 changes, see Updates in Maple 16.