Skip to content

New

Description

New is a Function on Color
Creates a new color using the given Red, Green, Blue, and Alpha values (values range from 0 to 1).

Example
local testVariable = Color.New(1.0, 1.0, 1.0, 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: Color
parameters:
- r (float)
- g (float)
- b (float)
- a (float)