Skip to main content

Operator ( number * Color )

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

LHS TypeSymbolRHS TypeResult Type
number*ColorColor

Usage

---@type number
local lhs;

---@type Color
local rhs;

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