FILLPALETTE

Top  Previous  Next

Syntax

INT = FILLPALETTE(col as UINT)

Description

Fills all 255 entries of an 8 bit screen palette with the color specified.

Parameters

col - RGB color to fill palette with.

Return value

None

Remarks

This function only works with 8 bit palletized screen modes. It has no effect on true color screens.

Example usage

CREATESCREEN 640,480,8
FILLPALETTE RGB(100,100,100)