Color4 is a type and a namespace.

// The namespace contains all types and functions to operates with Color4
Color4.add(blue, red) // sum component by component resulting pink
// The type Color4 is an alias to Color4.ReadonlyColor4
const readonlyBlue: Color4 = Color4.Blue()
readonlyBlue.a = 0.1 // this FAILS

// For mutable usage, use `Color4.Mutable`
const blue: Color4.Mutable = Color4.Blue()
blue.a = 0.1 // this WORKS



Type Aliases