Index | Collapse All Expand All

Color Constructor
Color Class Members Examples See Also

Beta Documentation - Subject to change.
Initializes a new color.

# Syntax

Lua
    function Color:Color();

# Remarks

Initializes a new color set to black.

# Examples

Creates a new color.

Creating a Color | Copy Code
--- | ---
            -- Creates a new color that defaults to transparent.
            local color = Turbine.UI.Color();

# See Also

- Color
- Turbine.UI