RGB

function RGB(R,G,B: Byte):Longint; Parameter Info: R (Byte): Red value G (Byte): Green value B (Byte): Blue value Description: Convert R,G,B to a Longint for use with WriteConsole/DrawText.