red method

int red(
  1. int color
)

Implementation

int red(int color) => _palette.getRed(color) as int;