feColorMatrix is an SVG filter that changes colors based on a transformation matrix. Every pixel’s color value (represented by an [R,G,B,A] vector) is matrix multiplied to create a new color.

This filter allows granular per channel color manipulation. Una Kravets wrote an excellent article explaining how to use it.