This function composes a RGB color by mixing the three basic colors
red, green and blue. You must specify an intensity of 0 to 255 for
each basic color.
Inputs
red
red intensity (0-255)
green
green intensity (0-255)
blue
blue intensity (0-255)
Results
color
RGB color
Example
color = RGB(255, 255, 255) ; mix white
color = RGB(255, 0, 0) ; mix red
color = RGB(255, 255, 0) ; mix yellow (red + green)
color = RGB(255, 0, 255) ; mix magenta (green + blue)