Re: [csswg-drafts] [css-color] profiled colors can be device-independent (#6024)

Thanks for your helpful comments.

> The current css-color-4, chapter 10 is titled "Profiled, Device-dependent Colors". This title seems to neglect the existence of ColorSpace profiles, which are used to specify a device-independent colorspace.

Not to neglect them, but more to distinguish the from device-independent colorspaces (which is the previous section). This section is therefore about profiled RGB and CMYK (etc) colorspaces. I see your point though, if you equate "profiled" with "uses an ICC profile". s you pont out, ICC profiles can be used to do a lot more than this.

> CIELAB is quite a lot better than doing stuff in RGB, 

Yes, which is why Lab and LCH are explicitly allowed for CSS in this specification

> but some of its flaws (blue hue, etc.) are quite well known. 

They are, yes. The choice of Lab is a conservative one, based on most current use in industry. There are other spaces which may well be better (where better depends on the task at hand - the metric needs to be specified and some are better on one metric but wore on others). Also, ICC v4 only accepts XYZ and Lab as a PCS so using a different device-independent colorspace implies additional work.

There is current discussion on adding spaces with better perceptual uniformity (Jzazbz, ICpCt, OKLab) although that might happen in a later level rather than level 4, which is seeing active implementation now.

> The specification should probably add an exhaustive list of the ICCv4 profile types

Yes, that totally makes sense to add for [10.3. Specifying a color profile: the @color-profile at-rule](https://drafts.csswg.org/css-color-4/#at-profile). Thanks for the suggestion.



 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 22 February 2021 19:47:16 UTC