GETPALETTECOLOR |
Top Previous Next |
Syntax UINT = GETPALETTECOLOR(index as INT) Description Returns the RGB color of the specified palette index. Parameters index - Index of the color to retrieve. Return value The RGB color stored in the palette at the specified index. Remarks Index is a number from 0 to 255. This function is only valid for 8 bit screens. See Also: SETPALETTECOLOR Example usage col = GETPALETTECOLOR(0) |