Skip to content

color:adjust_hue_fixed_ryb(degrees)

Since: Version 20220807-113146-c2fee766

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

Adjust the hue angle by the specified number of degrees.

This method uses the RYB color model, which more closely matches how artists think of mixing colors and which is sometimes referred to as the "artist's color wheel".

180 degrees gives the complementary color. Three colors separated by 120 degrees form the triad. Four colors separated by 90 degrees form the square.

See also color:adjust_hue_fixed().