Re: [csswg-drafts] [css-color-4] Better name for gray()? (#4621)

> If we did change the name, I'm okay with a 1-arg variant of an existing colorspace function, but not rgb() specifically, since gray() is not defined in terms of rgb(); it would be confusing and bad if rgb(50%) was not equal to rgb(50% 50% 50%). 1-arg lab() and/or lch() might work tho.

Exactly.

Also, the fact that 1-arg rgb() was so popular means people responding did not read, or understand, what gray() does (although what it does now and what it did at several times in the past (`rgb(x,x,x)`, `hsl(0,0,x)`,  etc) is not the same.

I'm tempted to leave it for now, and see what happens when `lab()` and `lch()` get implemented.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4621#issuecomment-569529656 using your GitHub account

Received on Sunday, 29 December 2019 18:18:58 UTC