Skip to content

[css-color-4] Should lab() colors which are outside the sRGB gamut be rendered on capable displays? #4646

Closed
@smfr

Description

@smfr

Lab and LCH colors can be outside the sRGB gamut. https://www.w3.org/TR/css-color-4/#specifying-lab-lch says nothing about how to render those colors, other than not clamping lightness.

There is text about how to convert lab/lch to sRGB, so implementors may take this to mean that lab/lch should be converted to sRGB for rendering, but UAs that wish to support extended color rendering may choose to map lab/lch into some other working colorspace. I think the spec should make this clearer. Maybe #300 needs to be resolved before that happens.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions