Arbortext IsoDraw > Macro Language Reference > Object Data Types > Sub Data Types for Attribute Preferences > .colors[ ]
  
.colors[ ]
This property gives access to all color attributes but it can not be used directly.
.colors[ ].name
Returns and sets the name of the color as string.
app.colors[1].name = "myLovelyBlue"
.colors[ ].kind
Returns and sets the type of the color as string. The allowed values are "Custom_color", "RGB_color". "CMYK_color" and "Color_Tone".
app.colors[1].kind = "RGB_color"
.colors[ ].color
Returns and sets the color as ColorSpec (see ColorSpec).
app.colors[1].color.rgb.red = 188
app.colors[1].color.rgb.green = 188
app.colors[1].color.rgb.blue = 188