argb static method

List<int> argb(
  1. int color
)

Returns [a, r, g, b] each in 0, 255.

Implementation

static List<int> argb(int color) => [
  alpha(color),
  red(color),
  green(color),
  blue(color),
];