To encode color type entities and the following masks that apply to your color type:
00000100-00000000-00000000-00000000 kA3DMarkupIsExtraData
00000001-01100000-00000000-00000000 kA3DMarkupColorMask
00000000-00000000-00000000-00000001 Number of additional codes = 1
Here is an example of a code corresponding to a color:
00000101-01100000-00000000-00000001 (In decimal form, this value is 90177537.)
And with no associated doubles, the three codes for a color type are:
uiCode[n] = 90177537;
uiCode[n+1] = 0; no doubles
uiCode[n+2] = id_of_color;
For encoding/decoding extra data types, use macros defined in Extra data types for A3DTessMarkupData tessellation.