Skip to content

[css-color] interpolating between color spaces #883

Closed
@grorg

Description

@grorg

How should a transition between "blue" and "color(display-p3 1 0 0)" work?

My current thought is to work out which of the endpoints is in the biggest color space, convert the endpoint in the smaller space to the bigger space (which won't always be 100% accurate), then apply the interpolation.

However:

  • how to decide which is the bigger space?
  • how to convert from one space to another?

... both in a way that is interoperable between all browsers.

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