Skip to main content

Operator ( Color - Color )

Subtracts color lhs from color rhs. Each component is subtracted separately.

LHS TypeSymbolRHS TypeResult Type
Color-ColorColor

Usage

---@type Color
local lhs;

---@type Color
local rhs;

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