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

Online Help

All Products    Maple    MapleSim


ColorTools

  

PlotColorToRGB24

  

convert plot color to RGB

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

PlotColorToRGB24(color)

Parameters

color

-

plot color data structure

Description

• 

The PlotColorToRGB24 command converts any valid plot color data structure into a 24-bit RGB value.  For information on the color data structure, see plot/structure.

• 

If color represents a single color, a list of three RGB

Examples

withColorTools:

PlotColorToRGB24COLORRGB,1.,0.,0.

255,0,0

(1)

PlotColorToRGB24COLORHSV,0.,1.,1.

255,0,0

(2)

PlotColorToRGB24COLORHUE,0.

255,0,0

(3)

Compatibility

• 

The ColorTools[PlotColorToRGB24] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

ColorTools

plot/structure