colorMatrix
constcolorMatrix: (m) =>ColorMatrixFilter
Any colour matrix: 20 numbers, 4 rows (R, G, B, A) of 5 (times r, g, b, a, plus an offset 0–1), on unpremultiplied colours (SVG feColorMatrix). On Canvas 2D it needs ctx.filter with url() (Chrome, Firefox); elsewhere it is skipped.
Parameters
Section titled “Parameters”ArrayLike<number>