(A colour appearance model based on a high dynamic range uniform colour space)
Adjusting Chroma/Saturation/etc programmatically easily results in RGB values outside of the #sRGB gamut (colors representable on screen).
To get a better idea about the problem space, I've rendered ZCAM Lightness vs Chroma in 1° Hue steps, which demonstrates the variance of the cusp positions.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!