Skip to content

color:triad()

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 two colors that form a triad. The other colors are at +/- 120 degrees in the HSL color wheel.

local a, b = wezterm.color.parse('yellow'):triad()