Arbortext Command Language > Functions by Alphabetical Listing > color_rgb
  
color_rgb
color_rgb (color[, background])
This function returns the RGB number of the color specified in the color parameter. The color parameter can be either a named color an RGB specification preceded by #. When the color parameter is set to a named color and the optional background parameter is set to 0, the foreground color of the named color is returned. If background parameter is not set to 0, the background color of the named color is returned.