ColorTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/NeutralSpread

ColorTools

  

NeutralSpread

  

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

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

NeutralSpread(color, number)

Parameters

color

-

color format recognized by ColorTools

number

-

positive integer; number of colors to return

Description

• 

The command NeutralSpread generates a list of evenly spaced colors across one quarter 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

withColorTools:

NeutralSpreadColorHSV,Red,3

HSV : 0.938 1 1,HSV : 0 1 1,HSV : 0.0625 1 1

(1)

greenspreadNeutralSpreadGreen,11

greenspread:=RGB : 0.314 0.502 0,RGB : 0.251 0.502 0,RGB : 0.188 0.502 0,RGB : 0.125 0.502 0,RGB : 0.0627 0.502 0,RGB : 0 0.502 0,RGB : 0 0.502 0.0627,RGB : 0 0.502 0.125,RGB : 0 0.502 0.188,RGB : 0 0.502 0.251,RGB : 0 0.502 0.314

(2)

HSVColorWheelgreenspread

Compatibility

• 

The ColorTools[NeutralSpread] 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[HueSpread]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam