W3cubDocs

/SVG

divisor

After applying the kernelMatrix of the <feConvolveMatrix> element to the input image to yield a number, that number is divided by the value given to the divisor attribute to yield the final destination color value. A divisor that is the sum of all the matrix values tends to have an evening effect on the overall color intensity of the result.

The default value is the sum of all values in kernelMatrix, with the exception that if the sum is zero, then the divisor is set to 1.

It is an error to specify a divisor of zero.

Usage context

Categories None
Value <number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Example

Elements

The following elements can use the divisor attribute

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/divisor