RE: [css-color-4] Renaming gray()

I know I am an outside here, but as a suggestion...

How about leaving gray() as is and adding graying(), graying implies an actionable making a distinction between the two.

Where gray(%) resolves to the shade of gray rgb(%,%,%)
And
Where graying(%) acts as a blender towards gray(50%)

George Weilenmann
IT Help Desk | CRM Customization | Portal Developer
 Office +1 303.800.5027| Mobile +1 720.940.0974
5613 DTC Parkway, Suite 570, Greenwood Village, CO 80111



-----Original Message-----
From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
Sent: Wednesday, July 23, 2014 4:20 PM
To: Kornel Lesiński
Cc: www-style list; Lea Verou
Subject: Re: [css-color-4] Renaming gray()

On Wed, Jul 23, 2014 at 3:17 PM, Kornel Lesiński <kornel@geekhood.net> wrote:
>>> 2. CSS is tied more closely to RGB than CMYK
>>>
>>> If there was black(x) I'd expect it to be a shorthand for
>>> cmyk(0,0,0,x), but use of actual CMYK colors in CSS can be a can of
>>> worms (it should be subject to color profiles, but then black(0) may be different than rgb(0,0,0)).
>>>
>>> However in the RGB world white(x) can be simply explained as
>>> rgb(255*x, 255*x, 255*x), but the same doesn't make sense for black:
>>> rgb(0*x, 0*x, 0*x).
>>
>> Black is just (100% - x) for each component.
>
> Well, of course it is. My point was that because of the inversion the formula for black->rgb isn't as simple and elegant as for white->rgb.

Okay. I don't think the conversion formula is very relevant here, though; the intuitiveness is based more on the name than how direct the translation is.

~TJ

Disclaimer: This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system.

Our company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

InsightSoftware.com is a Trading Name of 'InsightSoftware.com Limited',Registered in England No. 2860790 at 53-55 Uxbridge Road, Ealing, London, W5 5SA, United Kingdom, VAT Number: GB 766 8160 95

Received on Wednesday, 23 July 2014 22:27:41 UTC