Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
"<feColorMatrix>"

Defines a filter primitive that applies a matrix transformation on color values.

This element supports four modes: a direct 5x4 matrix, a saturation adjustment, a hue rotation, and a luminance-to-alpha conversion.

Example usage:

<filter id="Grayscale">
<feColorMatrix type="saturate" values="0" />
</filter>

Source saturate="0" hueRotate="90"

Attribute Default Description
type matrix One of matrix, saturate, hueRotate, luminanceToAlpha.
values (none) Matrix values or scalar parameter depending on type.

Inherits standard filter primitive attributes (in, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.