GHI_GetColors

Pilus edited this page Aug 11, 2015 · 1 revision
Clone this wiki locally

Syntax:

GHI_GetColors()

Returns:

Color Table
''table''
Returns a table containing RGB values for the default colors in GHI. See GHI_ScreenFlash() for the list of colors.

Example:

local color = GHI_GetColors()

local cs = GHI_ColorString("Hello!",color.orange.r,orange.red.g,color.orange.b)

print(cs)

This script prints a colored string to the window based on values form the GetColors() table that was returned.