Rgb()

Last Modified: 9/8/2021

Converts a RGB color into a color code supported by the VDP.

Arguments

NameTypeRequiredDescription
Red Integer Yes The value of the red component.
Green Integer Yes The value of the green component.
Blue Integer Yes The value of the blue component.

Example

Syntax: Rgb(<Red>, <Green>, <Blue>)
    Palette Rgb(7,7,7),0,0

Remarks

Valid ranges for each component is 0 to 7.