SOPALETTERGB

Creates a palette-relative RGB color value. Red, Green, and Blue specify the red, green, and blue color intensities and must be in the range 0 to 255. When this color value is specified, the system uses the palette entry that has the color that most closely matches this value.

SOPALETTERGB(Red, Green, Blue)