Link Search Menu Expand Document

setPalette

Explanation Change the color of the [color constant]().
Call format setPalette(color, R, G, B)
Return value None
Argument integer color Specify the 0-based color number you want to change.
Specify $ RED-1 to change the color of $ RED.
able to specify between 0 to 115.
integer R Specifies the red intensity of the new color in the range 0-255.
integer G Specifies the green intensity of the new color in the range 0-255.
integer B Specifies the blue intensity of the new color in the range 0-255.
Exception None
Example of use
 setPalette (8, 128, 128, 255);
Related item