W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-color] wider/deeper colors

From: Chris Lilley <chris@w3.org>
Date: Tue, 16 Feb 2016 10:14:47 +0100
Message-ID: <879257943.20160216101447@w3.org>
To: Florian Rivoal <florian@rivoal.net>, Simon Fraser <smfr@me.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Dean Jackson <dino@apple.com>, www-style list <www-style@w3.org>
Hello Florian,

Thursday, February 11, 2016, 1:15:58 PM, you wrote:


>> On Feb 11, 2016, at 11:59, Simon Fraser <smfr@me.com> wrote:
>> 
>> 
>>> On Feb 11, 2016, at 11:40 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>>> 
>>> On Wed, Feb 3, 2016 at 1:51 AM, Dean Jackson <dino@apple.com> wrote:
>>>>>> 2. We will add a new function for describing colors that accepts a
>>>>>> color-profile name and a variable number of arguments. e.g.
>>>>>> color("bt2020", 0.7, 0.3, 0.1). The name can be linked to a
>>>>>> @color-profile, but we will also have some predefined keywords for
>>>>>> the most common profiles.
>>>>> 
>>>>> Yes, exactly. I was thinking of icc rather than color, which is
>>>>> shorter and more descriptive (these are icc profiles).
>>>> 
>>>> That sounds fine by me.
>>> 
>>> Yeah, I like icc() fine.
>> 
>> I dislike this name. icc is short for "International Color Consortium”,

Yes, ICC profiles is what the industry ended up standardizing on. They
are a generalization of the functionality in Apple ColorSync.

I'm fine with not calling the function icc, but the fact is that the
profiles pointed to will be ICC profiles.

An ICC profile is simply a mapping from the characterized color space
to a profile connection space (either Lab or XYZ) and back.

>>  and that doesn’t make sense as a function name to me.
>> 
>> Is CSS going to spec the acceptable list of ICC profile names, or
>> is this left undefined?

Why would there be an "acceptable list"? We don't specify an
"acceptable list" of fonts people can use, for example.

> I tend to prefer color() over icc() as well.

> As for where the profile names come from, should at least hardcode
> sRGB, and could hardcode a few more, but in general I expect that we
> would also have an @rule to declare color spaces.

Yes, exactly.

> @colors "adobe-rgb" {
>   profile: url("https://www.example.com/adobe.icc");
> }

Right.

I was thinking of @color-profile as the at-rule name, and src for the
descriptor that tells you where it is (by analogy with @font-face).
But your syntax would also work.

I like the name being inline like that rather than having a second
descriptor for the name.


-- 
Best regards,
 Chris  Lilley
 Technical Director, W3C Interaction Domain
Received on Tuesday, 16 February 2016 09:15:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC