ToPlotColor - Maple Help

# Online Help

###### All Products    Maple    MapleSim

ColorTools[Color]

 ToPlotColor
 convert a Color object into a plot color data structure

 Calling Sequence ToPlotColor(color)

Parameters

 color - Color object created with ColorTools[Color]

Description

 • The ToPlotColor command converts a Color object into a plot color data structure.  See plot/structure.

Examples

 > $c≔\mathrm{ColorTools}:-\mathrm{Color}\left("gold"\right)$
 ${c}{≔}{⟨}\colorbox[rgb]{0.8,0.498039215686275,0.196078431372549}{RGB : 0.8 0.498 0.196}{⟩}$ (1)
 > $\mathrm{ToPlotColor}\left(c\right)$
 ${\mathrm{COLOR}}{}\left({\mathrm{RGB}}{,}{0.7999999999}{,}{0.4980392156}{,}{0.1960784314}\right)$ (2)

Compatibility

 • The ColorTools[Color][ToPlotColor] command was introduced in Maple 2017.
 • For more information on Maple 2017 changes, see Updates in Maple 2017.

 See Also