int RGBtoGPC (r, g, b, IBMcolor) COLOR.C Level 13
 
int r, g, b Input red, green, blue values (063).
int *IBMcolor Returned values of the closest IBM color
 
This function returns the closest GraphiC RGB color value (200447) as well as the closest IBM color.