convert color name to RGB values - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/NameToRGB24

ColorTools[NameToRGB24] - convert color name to RGB values

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)

See Also

ColorTools


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam