我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

« SVG Attribute reference home

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

Note that 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.

As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css color-interpolation-filters for further information

Usage context

Categories Presentation attribute
Value auto | sRGB | linearRGB | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)
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.
Indicates that color interpolation should occur in the sRGB color space.
Indicates that color interpolation should occur in the linearized RGB color space as described in the sRGB specification.



The following elements can use the color-interpolation-filters attribute

See also


 此頁面的貢獻者: Jeremie, ratcliffe_mike
 最近更新: Jeremie,