Skip to content

color:square()

Since: Version 20220807-113146-c2fee766

The functionality described in this section requires version 20220807-113146-c2fee766 of wezterm, or a more recent version.

Returns the other three colors that form a square. The other colors are 90 degrees apart on the HSL color wheel.

local a, b, c = wezterm.color.parse("yellow"):square()