Re: [css-color] Remove gray() Notation

On 8/19/2014 3:43 AM, Christoph Päper wrote:
> ‘rgb(50%)’ follows this nicely, because all three values are the same, but ‘hsl(50%)’ would be less intuitive indeed. The percentage cannot denote the hue, because that’s conventionally treated as an angle, but without deeper knowledge it’s unclear whether the percentage specifies saturation or lightness or both.

hsl(50%) is not less intuitive. If hue is omitted, then saturation is irrelevant. Therefore, 50% must refer to lightness.

> It‘s, of course, just specifying lightness for HSL, but if I remember correctly it would be both, saturation and brightness/value, for HSB/HSV (which are not supported in CSS, yet).

If grayscale value shortcuts don't make sense for new color formats, then those formats need not have such shortcuts. I don't see that as a significant issue.

Received on Wednesday, 20 August 2014 05:56:54 UTC