Operator ( Color / number )
7/14/25Less than 1 minute
Operator ( Color / number )
Divides color lhs
by the number rhs
. Each color component is scaled separately.
LHS Type | Symbol | RHS Type | Result Type |
---|---|---|---|
Color | / | number | Color |
Usage
---@type Color
local lhs;
---@type number
local rhs;
local result = lhs / rhs; -- result is Color