ColorTools - Maple Programming Help

ColorTools

 create a number of nearby colors with hues spaced across the whole color wheel

Parameters

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

Description

 • The command EvenSpread generates a list of evenly spaced colors across the whole 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{EvenSpread}\left(\mathrm{Color}\left("HSV","Red"\right),3\right)$
 $\left[{⟨}\colorbox[rgb]{0.501960784313725,0,1}{{HSV : 0.75 1 1}}{⟩}{,}{⟨}\colorbox[rgb]{1,0,0}{{HSV : 0 1 1}}{⟩}{,}{⟨}\colorbox[rgb]{0.501960784313725,1,0}{HSV : 0.25 1 1}{⟩}\right]$ (1)
 > $\mathrm{greenspread}≔\mathrm{EvenSpread}\left("Green",11\right)$
 ${\mathrm{greenspread}}{≔}\left[{⟨}\colorbox[rgb]{0.501960784313725,0,0.250980392156863}{{RGB : 0.502 0 0.251}}{⟩}{,}{⟨}\colorbox[rgb]{0.501960784313725,0,0}{{RGB : 0.502 0 0}}{⟩}{,}{⟨}\colorbox[rgb]{0.501960784313725,0.250980392156863,0}{{RGB : 0.502 0.251 0}}{⟩}{,}{⟨}\colorbox[rgb]{0.501960784313725,0.501960784313725,0}{RGB : 0.502 0.502 0}{⟩}{,}{⟨}\colorbox[rgb]{0.250980392156863,0.501960784313725,0}{{RGB : 0.251 0.502 0}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0}{{RGB : 0 0.502 0}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.250980392156863}{{RGB : 0 0.502 0.251}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.501960784313725,0.501960784313725}{{RGB : 0 0.502 0.502}}{⟩}{,}{⟨}\colorbox[rgb]{0,0.250980392156863,0.501960784313725}{{RGB : 0 0.251 0.502}}{⟩}{,}{⟨}\colorbox[rgb]{0,0,0.501960784313725}{{RGB : 0 0 0.502}}{⟩}{,}{⟨}\colorbox[rgb]{0.250980392156863,0,0.501960784313725}{{RGB : 0.251 0 0.502}}{⟩}\right]$ (2)
 > $\mathrm{HSVColorWheel}\left(\mathrm{greenspread}\right)$

Compatibility

 • The ColorTools[EvenSpread] command was introduced in Maple 16.