Skip to content

relative colors when origin is beyond gamut of output  #32704

Open
@estelle

Description

Once the PR #32004 is merged, but we should address the following :

What happens if you do a relative color with the origin color being outside the gamut of the function? For example, if you use a custom property of a fantastically vibrant magenta using oklab() and add opacity using rgb() as the output. In this case, only the alpha value changed, but I assume the origin color is converted to color(srgb) rather than rgb(), which doesn't matter in the alpha case, but does matter if the value of b is changed.

Originally posted by @estelle in #32004 (comment)

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docshelp wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions