GraySpread - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

ColorTools

  

GraySpread

  

create a number of evenly spaced shades of gray

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GraySpread(color, number, step)

Parameters

color

-

color format recognized by ColorTools

number

-

positive integer; number of colors to return (the default is 5)

step

-

positive number less than 1; amount by which the shades of adjacent colors should differ (the default is 1/(number+1))

Description

• 

The command GraySpread generates a list of evenly spaced gray. The input color will be included in the middle of the list.

• 

If the input color is not a shade of gray, it will be converted to gray using its luma value.

Examples

(1)

(2)

Compatibility

• 

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

 


Download Help Document