The Color_ConvertValueToName() function converts a color value to the corresponding Dexterity predefined color name.
Color_ConvertValueToName(color_value)
• color_value – A long integer containing a color value.
A string containing the name of the color. 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 |
|
If the color value is not a Dexterity predefined color, the hexadecimal representation of the color value is returned.