Skip to content

[css-images-4] Question: in what color space will gradient interpolation occur? #6094

Closed
@krogovin

Description

@krogovin

Right now, the color between two different colors stops is computed in sRGB space, i.e. if a pixel is half way between two colors stops A and B, the emitted color in sRGB is mix(A, B, 0.5) where A and B are in sRGB color space.

What is the expectation when the color stops are in different color spaces? What happens if single gradient has color values in different color spaces?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-images-4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions