void GRCtoIBM (i, rgb, *IBMcolor) COLOR.C Level 3
 
int i Input GraphiC color number from the patterns or from the standard colors.
int rgb[3] An array of three output red, green, and blue values (063).
int *IBMcolor The IBM color (015) closest to the input RGB values.
 
This routine allows you to extract the RGB values from a GraphiC color and to obtain the closest IBM color number.