Re: [css4-color] <number> in HSL

28.01.2012, 06:12, "Lea Verou" <leaverou@gmail.com>:
> Since we're having discussions about simplifying HSLA/RGBA, how about
> allowing <number> for saturation and lightness (0-1) too? It currently
> only allows for percentages, so there's not going to be any conflict.
>
> Example: hsl(60, .5, 1) as equivalent to hsl(60, 50%, 100%)
>
> --
> Lea Verou (http://lea.verou.me | @LeaVerou)

Sounds reasonable. In a more comprehensive sense, we could allow both notations (0-1 and 0%-100%) anywhere where only one of them is currently allowed.

Received on Saturday, 28 January 2012 12:44:29 UTC