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

Re: [css-color] wider/deeper colors

From: Simon Fraser <smfr@me.com>
Date: Thu, 11 Feb 2016 18:16:11 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Dean Jackson <dino@apple.com>, Chris Lilley <chris@w3.org>, www-style list <www-style@w3.org>
Message-id: <A461C58F-6EDF-4EA9-B586-FCB01ACE8BC3@me.com>
To: Florian Rivoal <florian@rivoal.net>

> On Feb 11, 2016, at 4:15 am, Florian Rivoal <florian@rivoal.net> 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”, 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?
> 
> 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.
> 
> @colors "adobe-rgb" {
>  profile: url("https://www.example.com/adobe.icc <https://www.example.com/adobe.icc>");
> }

I think we’re prefer to avoid referencing external resources for colors. What do you show before the resource is available? Transparent?

Simon


Received on Friday, 12 February 2016 02:16:46 UTC

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