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

Online Help

All Products    Maple    MapleSim


ColorTools

  

HueSpread

  

create a number of colors with evenly spaced hues

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

HueSpread(color, number, step)

Parameters

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)

Description

• 

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.

Examples

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

(1)

greenspreadHueSpreadGreen,11,112

greenspreadRGB : 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

(2)

HSVColorWheelgreenspread

HueSpreadBlack

(3)

Compatibility

• 

The ColorTools[HueSpread] command was introduced in Maple 16.

• 

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

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Color]

ColorTools[Gradient]

ColorTools[GraySpread]