colorToCssString method
Implementation
String colorToCssString(Color color) {
final int argb = color.toARGB32();
final int red = (argb >> 16) & 0xFF;
final int green = (argb >> 8) & 0xFF;
final int blue = argb & 0xFF;
return 'rgb($red, $green, $blue)';
}