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

Online Help

All Products    Maple    MapleSim


ColorTools

  

NameToRGB24

  

convert color name to RGB values

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

NameToRGB24(nm)

Parameters

nm

-

string; color name

Description

• 

The NameToRGB24 command converts from a color name to 24-bit RGB values. If the input name does not correspond to a known color, an error occurs.

Examples

withColorTools:

NameToRGB24Coral

255,127,80

(1)

NameToRGB24Niagara 1

120,0,14

(2)

NameToRGB24CSS Orange

255,166,0

(3)

Compatibility

• 

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

• 

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

See Also

ColorTools