Returns the red channel value of the pixel.
pixel
@override int getRed(int pixel) => (pixel >> 16) & 0xFF;