int RGBtoIBM (rgb) COLOR.C Level 13
 
int rgb[3] The input red, green, blue values (064).
 
This routine returns the closest IBM color (015) to a given set of R, G, and B values.