getGreen function

int getGreen(
  1. int color
)

Get the green channel from the color.

Implementation

int getGreen(int color) => (color >> 8) & 0xff;