RGBCONVERSION FunctionWindows/Unix

A conversion function that takes the red, green and blue parameters and combines them to form a BGR numeric representation.

Syntax: RGB(redvalue, greenvalue, bluevalue)
C = RGB(255, 0, 255)

Details:
Values range from 0-255. Values outside this range produce undefined results.