NeutralSpread - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

> 

with⁡ColorTools:

> 

NeutralSpread⁡Color⁡HSV,Red,3

⟨HSV : 0.938 1 1⟩,⟨HSV : 0 1 1⟩,⟨HSV : 0.0625 1 1⟩

(1)
> 

greenspread≔NeutralSpread⁡Green,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)
> 

HSVColorWheel⁡greenspread

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[Gradient]

ColorTools[HueSpread]