color:complement()

{{since('20220807-113146-c2fee766')}}

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().