Skip to content

color:complement()

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 complement of the color. The complement is computed by converting to HSL, rotating by 180 degrees and converting back to RGBA.

See also: color:complement_ryb().