Apply the effect to each separate channel to get maximum results to make good stuff like blur, apply the kernel to each channel apply edge detection to the mean of the red green and blue do not exceed 255 in any channel, round it down