Palette

Last Modified: 1/14/2021

Changes the color of one palette entry.

Arguments

NameTypeRequiredDescription
RgbColor Long Yes The color you want to set.
PalIndex Integer Yes The palette index you want to update. Valid values are 0 to 3
ColorIndex Integer Yes The color index you want to update. Valid values are 0 to 15

Example

Syntax: Palette <RgbColor>, <PalIndex>, <ColorIndex>
    Palette Rgb(7,7,7),0,0
    Palette &hEEE,0,0

See Also

Palettes, Rgb()