Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

Color

Within Lua-SDL there are two ways to pass a color to a function. it is allowed to pass the hexadecimal version or a table with the fields r, g, b.

Types

Type Description
Color (table) Color definition as a table
Color (hexadecimal) Color definition as an hexadecimal number
Colors A sequence of colors
Clone this wiki locally