Color3 is a type and a namespace.

  • The namespace contains all types and functions to operates with Color3
  • The type Color3 is an alias to Color3.ReadonlyColor3

// Namespace usage example
Color3.add(blue, red) // sum component by component resulting pink

// Type usage example
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