ColorTools - Maple Programming Help

Home : Support : Online Help : Graphics : Packages : ColorTools : Color Visualization Commands : ColorTools/LCHColorWheel

ColorTools

 LCHColorWheel
 plot the LCH color wheel

 Calling Sequence LCHColorWheel() LCHColorWheel(number) LCHColorWheel(number,colors)

Parameters

 number - (optional) number of sectors to draw (the default is 72) colors - (optional) a list of colors in formats recognized by ColorTools or a Palette object

Options

 • saturation=float
 A number between 0 and 5 for the LCH saturation of the colors in the wheel. (The default is 0.66.) In the LCH space, saturation is the ratio of the lightness and chroma coordinates.
 • chroma=float
 A number between 0 and 150 for the chroma value of the colors. If specified, this overrides the saturation option.
 • lightness=range
 A range of numbers from 0 to 150 for the range lightness values in the wheel. (The default range is $0..100$.)
 • nolegend=true or false
 If true this prevents a legend of the colors list from being added to the plot.  This is false by default for fewer than 10 colors and true for 10 or more.

Description

 • The LCHColorWheel command renders a color wheel in the LCH color space. If a list of colors is provided, circles are drawn on the wheel corresponding to the approximate· positions of those colors in LCH space. For colors given by Color objects or strings, a plot annotation will be created for its point.

Examples

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{LCHColorWheel}\left(\left["Red","Green","Blue","Yellow"\right],\mathrm{nolegend}\right)$
 > $\mathrm{LCHColorWheel}\left(32,\left["Red","Green","Blue","Yellow"\right],\mathrm{saturation}=0.35\right)$
 > $\mathrm{LCHColorWheel}\left(32,\mathrm{chroma}=35\right)$
 > $\mathrm{LCHColorWheel}\left(32,\mathrm{chroma}=35,\mathrm{lightness}=65..150\right)$

Compatibility

 • The ColorTools[LCHColorWheel] command was introduced in Maple 18.