Syntax

Result = dbRGB(Red, Green, Blue)
Description

This command will return the final color value of a combination of red, green and blue intensities. For each of the Red, Green and Blue components you must enter a value between 0 and 255. All zero will return a color value that represents black. All 255 will return a color value that represents white. By setting the Red component to 255 and the rest to zero, the command will return a color value that represents red. The parameters should be specified using integer values.

See Also

dbRGBR, dbRGBG, dbRGBB