Skip to main content

Operator ( Color / number )

Divides color lhs by the number rhs. Each color component is scaled separately.

LHS TypeSymbolRHS TypeResult Type
Color/numberColor

Usage

---@type Color
local lhs;

---@type number
local rhs;

local result = lhs / rhs; -- result is Color