ColorTools - Maple Help

Home : Support : Online Help : Graphics : Packages : ColorTools : 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) list of colors in formats recognized by ColorTools

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(float)
 • a range of numbers from 0 to 150 for the range lightness values in the wheel (the default range is $0..100$).
 • nolegend=truefalse
 • If $\mathrm{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.

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.