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

Online Help

All Products    Maple    MapleSim


ColorTools

  

EvenSpread

  

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

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

EvenSpread(color, number)

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

> 

with⁡ColorTools:

> 

EvenSpread⁡Color⁡HSV,Red,3

⟨HSV : 0.75 1 1⟩,⟨HSV : 0 1 1⟩,⟨HSV : 0.25 1 1⟩

(1)
> 

greenspread≔EvenSpread⁡Green,11

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⟩

(2)
> 

HSVColorWheel⁡greenspread

Compatibility

• 

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