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