color:complement_ryb()
¶
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 using the RYB color model, which more closely matches how artists think of mixing colors.
The complement is computed by converting to HSL, converting the hue angle to the equivalent RYB angle, rotating by 180 degrees and and then converting back to RGBA.
See also: color:complement().