Skip to content

[css-color-4] Is CSS Gamut Mapping intended to apply to CSS gradients? #14051

Description

@weinig

In § 14.2. CSS Gamut Mapping to an RGB Destination, there is a not that states:

these algorithms are for individual, distinct colors; for color images, where relationships between neighboring pixels are important and the aim is to preserve detail and texture, a perceptual rendering intent is more appropriate and in that case, colors inside the destination gamut could be changed.

That seems to imply it is really only for pure color usage, but I wanted to clarify first that did or did not include things like CSS Gradients, where a pure color is used as input, but ultimately, the output is an image.

I ask mainly because in some of the gamut mapping discussions, gradients have been used tangentially, e.g. here, for a performance test - #10579 (comment).

cc @svgeesus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions