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
Currently, all filters are defined in terms of sRGB-centric SVG filters.
Since the Web is finally moving away from sRGB, we'll eventually need to make them more color space aware, either by defining them differently, or by improving the SVG filters they are based on.
Perhaps the easiest way would be to extend color-interpolation-filters which would make one entire filter use a different colorspace, like display-p3.
Although by default SVG filters operate in linear-light sRGB so extending this to other color spaces would involve creating linear-light versions of p3 etc.
There is also a bizarre and apparently normative note about the (CSS) filter functions:
Note: The color-interpolation-filters property has no affect on Filter Functions, which operate in the sRGB color space.
Currently, all filters are defined in terms of sRGB-centric SVG filters.
Since the Web is finally moving away from sRGB, we'll eventually need to make them more color space aware, either by defining them differently, or by improving the SVG filters they are based on.
This affects:
hue-rotate()
brightness()
grayscale()
invert()
(@svgeesus?)The text was updated successfully, but these errors were encountered: