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

Online Help

All Products    Maple    MapleSim


ColorTools

  

AnalogousSpread

  

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

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AnalogousSpread(color, number)

Parameters

color

-

color format recognized by ColorTools

number

-

positive integer; number of colors to return

Description

• 

The command AnalogousSpread generates a list of evenly spaced colors across one half 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:

> 

AnalogousSpread⁡Color⁡HSV,Red,3

⟨HSV : 0.875 1 1⟩,⟨HSV : 0 1 1⟩,⟨HSV : 0.125 1 1⟩

(1)
> 

greenspread≔AnalogousSpread⁡Green,11

greenspread≔⟨RGB : 0.502 0.376 0⟩,⟨RGB : 0.502 0.502 0⟩,⟨RGB : 0.376 0.502 0⟩,⟨RGB : 0.251 0.502 0⟩,⟨RGB : 0.125 0.502 0⟩,⟨RGB : 0 0.502 0⟩,⟨RGB : 0 0.502 0.125⟩,⟨RGB : 0 0.502 0.251⟩,⟨RGB : 0 0.502 0.376⟩,⟨RGB : 0 0.502 0.502⟩,⟨RGB : 0 0.376 0.502⟩

(2)
> 

HSVColorWheel⁡greenspread

Compatibility

• 

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