ColorTools
HueSpread
create a number of colors with evenly spaced hues
Calling Sequence
Parameters
Description
Examples
Compatibility
HueSpread(color, number, step)
color
-
color format recognized by ColorTools
number
positive integer; number of colors to return (the default is 5)
step
positive number less than 1; amount by which the hues of adjacent colors should differ (the default is 1/6)
The command HueSpread generates a list of evenly spaced colors around 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.
withColorTools:
HueSpreadColorHSV,Red
⟨HSV : 0.667 1 1⟩,⟨HSV : 0.833 1 1⟩,⟨HSV : 0 1 1⟩,⟨HSV : 0.167 1 1⟩,⟨HSV : 0.333 1 1⟩
greenspread≔HueSpreadGreen,11,112
greenspread≔⟨RGB : 0.502 0 0.251⟩,⟨RGB : 0.502 0 0⟩,⟨RGB : 0.502 0.251 0⟩,⟨RGB : 0.502 0.502 0⟩,⟨RGB : 0.251 0.502 0⟩,⟨RGB : 0 0.502 0⟩,⟨RGB : 0 0.502 0.251⟩,⟨RGB : 0 0.502 0.502⟩,⟨RGB : 0 0.251 0.502⟩,⟨RGB : 0 0 0.502⟩,⟨RGB : 0.251 0 0.502⟩
HSVColorWheelgreenspread
HueSpreadBlack
The ColorTools[HueSpread] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
ColorTools/ColorSpaces
ColorTools[Color]
ColorTools[Gradient]
ColorTools[GraySpread]
Download Help Document