• Returns the green component of the given pixel.

    Parameters

    • pixel: Pixel

      The given pixel

    Returns number

    The green component as a number between 0 and 255