color-interpolation-filters

Onze vrijwilligers hebben dit artikel nog niet naar het Nederlands vertaald. Doe mee en help de klus te klaren!
U kunt het artikel ook in het English (US) lezen.

The color-interpolation-filters attribute specifies the color space for imaging operations performed via filter effects.

Notes: This property just has an affect on filter operations. Therefore, it has no effect on filter primitives like <feOffset>, <feImage>, <feTile> or <feFlood>.

color-interpolation-filters has a different initial value than color-interpolation. color-interpolation-filters has an initial value of linearRGB, whereas color-interpolation has an initial value of sRGB. Thus, in the default case, filter effects operations occur in the linearRGB color space, whereas all other color interpolations occur by default in the sRGB color space.

It has no affect on filter functions, which operate in the sRGB color space.

Note: As a presentation attribute, color-interpolation can be used as a CSS property.

As a presentation attribute, it can be applied to any element but it only has an effect on the following eighteen elements: <feSpotLight>, <feBlend>, <feColorMatrix>, <feComponentTransfer>, <feComposite>, <feConvolveMatrix>, <feDiffuseLighting>, <feDisplacementMap>, <feDropShadow>, <feFlood>, <feGaussianBlur>, <feImage>, <feMerge>, <feMorphology>, <feOffset>, <feSpecularLighting>, <feTile>, <feTurbulence>

Usage notes

Value auto | sRGB | linearRGB
Default value linearRGB
Animatable Yes
auto
Indicates that the user agent can choose either the sRGB or linearRGB spaces for color interpolation. This option indicates that the author doesn't require that color interpolation occur in a particular color space.
sRGB
Indicates that color interpolation should occur in the sRGB color space.
linearRGB
Indicates that color interpolation should occur in the linearized RGB color space as described in the sRGB specification.

Specifications

Specification Status Comment
Filter Effects Module Level 1
The definition of 'color-interpolation' in that specification.
Working Draft No significant change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'color-interpolation-filters' in that specification.
Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
color-interpolation-filtersChrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Compatibility unknown  
Compatibility unknown

See also

Documentlabels en -medewerkers

Aan deze pagina hebben bijgedragen: Sebastianz, mdnwebdocs-bot, connorshea, Jeremie, ratcliffe_mike
Laatst bijgewerkt door: Sebastianz,