Re: [csswg-drafts] [css-color-4] Question: in what color space will gradient interpolation occur? (#6094)

Re-tagging to CSS Images 4, where [gradients are defined](https://drafts.csswg.org/css-images-4/#gradients). 

As [defined in CSS Color 4](https://drafts.csswg.org/css-color-4/#interpolation-space), unless the host syntax overrides (and currently there is no gradient syntax to override) then pairs of legacy sRGB colors will interpolate in gamma-encoded sRGB. This is necessary for Web compat.

A pair of non-legacy colors, ore one legacy and one non-legacy, will interpolate in Lab. This includes the non-legacy `color(srgb)` form.

CSS Images 4 should define a host override syntax to allow other choices of interpolation colorspace.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6094#issuecomment-839983389 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 May 2021 18:00:40 UTC