Skip to content

Remove ICC named color profiles #6095

@svgeesus

Description

@svgeesus

Currently, the color() function when used with a color profile accepts either numeric parameters or string parameters. The latter is for use with named color profiles. These are not well supported (It took me quite a while to find an actual live example for testing), are not allowed in PDF (for CSS to PDF generators) and, for the simple use case of expressing a palette of named colors, CSS Custom Properties aka CSS Variables are an easier and more CSS-like way to produce that palette.

So this is a proposal to remove them from the spec:

Instead I would add an example of using CSS Custom properties to specify a palette of colors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions