- From: Florian Rivoal <florian@rivoal.net>
- Date: Thu, 11 Feb 2016 21:15:58 +0900
- To: Simon Fraser <smfr@me.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Dean Jackson <dino@apple.com>, Chris Lilley <chris@w3.org>, www-style list <www-style@w3.org>
> 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"); } - Florian
Received on Thursday, 11 February 2016 12:16:26 UTC