The Color_ConvertNameToValue() function converts a Dexterity predefined color name to the corresponding color value.
Color_ConvertNameToValue(color_name)
• color_name – A string containing a Dexterity predefined color name. The following table lists the predefined color names for Dexterity:
Black |
Medium Gray |
Blue |
Pink |
Bright Green |
Red |
Dark Blue |
Teal |
Dark Red |
Turquoise |
Dark Yellow |
Violet |
Green |
White |
Light Gray |
Yellow |
Light Yellow |
|
A long integer containing the color value. If an invalid color name is passed to this function, the value 0 is returned.