Color3 is a type and a namespace.

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

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

Index

Functions

Type Aliases