Skip to content

color:hsla()

Since: Version 20220807-113146-c2fee766

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

Converts the color to the HSL colorspace and returns those values + alpha:

local h, s, l, a = color:hsla()