Number rather than percentage is not accepted: `hsl(40 0.5 0.5)` is not accepted while `hsl(40 50% 50%)` is. [Syntax for HSL](https://drafts.csswg.org/css-color-4/#the-hsl-notation)
Number rather than percentage is not accepted:
hsl(40 0.5 0.5)is not accepted whilehsl(40 50% 50%)is.Syntax for HSL