From the course: SVG: Clipping, Masking, and Filters
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
feColorMatrix, part 2
From the course: SVG: Clipping, Masking, and Filters
feColorMatrix, part 2
- [Narrator] As the name suggests, the feColorMatrix filter primitive uses a color matrix to remap the colors of the original input pixel. The prepackaged functions you saw in the previous movie saturation, color rotation, and lumens to alpha are pre-defined matrixes where you supply some variable settings. Now we'll look at the actual matrix itself and see how it opens up new opportunities for color control and remapping. FeColorMatrix uses a numerical transformation matrix to transform each of the R, G, B, and A channels for every pixel in the graphic effectively giving each color channel its own RGBA channel. Here's how that works. For each of the four channels, red, green, blue, and alpha, we have a five number matrix line. The five numbers on each line represent the input values of red, green, blue, alpha as well as a multiplier if you want to change the overall value. The matrix takes the original input value for the channel and replaces it with whatever new color is specified…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
A walkthrough of SVG filter primitives2m 11s
-
(Locked)
feImage4m 31s
-
(Locked)
feTile4m 15s
-
(Locked)
feFlood2m 29s
-
(Locked)
feBlend2m 52s
-
(Locked)
feGaussianBlur3m 21s
-
(Locked)
feMerge2m 51s
-
(Locked)
feOffset2m 54s
-
(Locked)
feMorphology4m 39s
-
(Locked)
feComposite4m 50s
-
(Locked)
feComponentTransfer9m 23s
-
(Locked)
feColorMatrix, part 13m 42s
-
(Locked)
feColorMatrix, part 24m 53s
-
(Locked)
feDiffuseLighting7m 53s
-
(Locked)
feSpecularLighting4m 19s
-
(Locked)
feTurbulence6m 47s
-
(Locked)
feDisplacementMap2m 40s
-
(Locked)
feConvolveMatrix5m 49s
-
-
-