[csswg-drafts] [css-images-4] Consider allowing gradients to include a color space for interpolation to take place in (#5833)

samweinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-4] Consider allowing gradients to include a color space for interpolation to take place in ==
Currently, all gradient interpolation takes place in pre-multiplied sRGB space. Now that we have the some predefined color spaces from css-color (https://drafts.csswg.org/css-color-4/#predefined) it would be nice to allow gradients to use those color spaces to produce nicer looking results (I have heard Lab is a color space people particular like using for gradients due to the perceptually uniformity characteristics).

One potential way to introduce this would be to all the color space to be specified as a new optional first parameter to the gradient functions.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5833 using your GitHub account


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

Received on Monday, 4 January 2021 18:14:28 UTC