Skip to main content

Operator ( Color + Color )

Adds two colors together. Each component is added separately.

LHS TypeSymbolRHS TypeResult Type
Color+ColorColor

Usage

---@type Color
local lhs;

---@type Color
local rhs;

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