You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Would it be possible to specify the interpolation color space for functions performing color processing (mix, darken, etc.)?
The SVG specification defines the sRGB and linear RGB color spaces. Browsers (and this library) use sRGB interpolation by default but I'd like to use linear RGB for a more physically-accurate effect.
The text was updated successfully, but these errors were encountered:
Right now color spaces aren't taken into account. I believe chroma.js does, but I can't guarantee anything (also last I checked they still aren't immutable, so watch out for that).
I want to add color space support but I need to research more about it, and then find the time 😅.
Hi,
Would it be possible to specify the interpolation color space for functions performing color processing (mix, darken, etc.)?
The SVG specification defines the sRGB and linear RGB color spaces. Browsers (and this library) use sRGB interpolation by default but I'd like to use linear RGB for a more physically-accurate effect.
The text was updated successfully, but these errors were encountered: