- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Oct 2021 11:35:11 +0000
- To: public-css-archive@w3.org
(I missed the addition of the `components` descriptor in May).
#2023 was suggesting the use of @color-space to define print separations. Print essentially means PDF, and in PDF separations are described by giving them a name and a "fallback color" in a process colorspace such as CMYK or RGB.
In other words, the new ColorSpace is described as a function on an existing ColorSpace, which is exactly what you're proposing here. Your syntax:
```css
@color-profile --brand-red {
components: l;
fallback: lch(l 40 20 / alpha);
}
```
my original proposal looked like this:
```css
@color-profile --reflex-blue {
src: device-cmyk;
components: "PANTONE Reflex Blue C" 1 0.723 0 0.02;
}
```
but it would be very easy to change the syntax to this:
```css
@color-profile --reflex-blue {
components: "PANTONE Reflex Blue C";
fallback: device-cmyk(1 0.723 0 0.02);
}
```
all that would be required is to allow components to be specified as a string as well as an ident. It would, at a stroke, provide a standardized CSS way to specify spot colors for print.
--
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6767#issuecomment-952829084 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 October 2021 11:35:13 UTC