toRgb method

List<num> toRgb()

Implementation

List<num> toRgb() {
  return [r, g, b];
}