Apply the color matrix effect


By applying a 4 × 5 matrix transformation to the RGBA color and alpha values of each pixel in the input image, a result consisting of new RGBA color and alpha values can be created. This allows for a variety of effects such as saturation change, hue rotation, and luminance alpha transformation.

  • matrix

    4 × 5 array for color conversion