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

Online Help

All Products    Maple    MapleSim


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

ColorTools[EvenSpread] - create a number of nearby colors with hues spaced across the whole color wheel

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

withColorTools:

EvenSpreadColorHSV,Red,3

HSV : 0.75 1 1,HSV : 0 1 1,HSV : 0.25 1 1

(1)

greenspread:=EvenSpreadGreen,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)

HSVColorWheelgreenspread

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