Color_ConvertValueToName()

Examples


The Color_ConvertValueToName() function converts a color value to the corresponding Dexterity predefined color name.

Syntax

Color_ConvertValueToName(color_value)

Parameters

color_value – A long integer containing a color value.

Return value

A string containing the name of the color. The following table lists the predefined color names for Dexterity:

[spacer]

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.


Documentation Feedback