ColorTools[Color] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : Color and Color Object Manipulation Commands : ColorTools/Color/ToRGB

ColorTools[Color]

  

ToRGB

  

retrieve the RGB triple of a Color object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ToRGB(color)

Parameters

color

-

Color object created with ColorTools[Color]

Description

• 

The ToRGB command returns the RGB floats from 0. to 1.0 of a Color object as a list.

Examples

pColorTools:-Colorpink

pRGB : 1 0.753 0.796

(1)

ToRGBp

1.0000000,0.75294118,0.79607843

(2)

rColorTools:-ColorHSV,red

rHSV : 0 1 1

(3)

ToRGBr

1.0000000,0.,0.

(4)

Compatibility

• 

The ColorTools[Color][ToRGB] command was introduced in Maple 2017.

• 

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

See Also

ColorTools[Color]