Extracts the G component from a color value.

  • Parameters

    • color: number

      The color value.

    Returns number

    The G component of the color value.