GetPaletteColor()

Syntax

Color = GetPaletteColor(Index)
Description
Retrieves the RGB color at the given index of the current palette. To get the Red, Green and Blue component of the color, use the Red(), Green() and Blue() commands.

Supported OS

Windows, AmigaOS, Linux

<- FreePalette() - Palette Index - InitPalette() ->