Converts a Flutter Color object to RGB values.
Returns a list of integers representing the RGB values. r, g, b
r, g, b
List<int> toRgb() { return ColorConverter.color2rgb(this); }