2.5.6.2 vColor
The vColor custom input type specifies a PtgColorRGB parse token derived from a source token that MUST be a vNumAny custom token grouping or a PtgColorRGB, PtgString, or PtgCy parse token. It contains the following computed property.
Value: This property specifies the Value of a color value represented as a 3-byte signed integer derived from the source token Value as follows.
-
If the source token type is a PtgColorRGB, the Value is equal to the source token Value.
-
If the source token can be interpreted as a vSignedLong custom input type, the Value is equal to the color in the color table that is indexed by the source token Value interpreted as a vSignedLong; if the source token Value interpreted as a vSignedLong is not a valid index in the color table, the Value is equal to the color at index zero in the color table.
-
In all other cases, the input argument is not valid.