API Reference > Palette

Palette Class

Represents a palette of 256 colors used in various places in F1GP.

The palette consists of 256 different colors. For more details, see the Palette Colors page.


Namespace: ArgData

Methods

Name Description
CreateDrivingPalette() Returns an instance of a PaletteWithRanges that represents
the color palette that is used when driving in the game.
CreateMenuPalette() Returns an instance of a Palette that represents the color palette
that is used in the driver selection menu.
GetColor(Byte index) Get the color at the specified index in the palette.
index: Index of color to fetch.
GetColor(Int32 index) Get the color at the specified index in the palette.
index: Index of color to fetch.