colorToRgb function

String colorToRgb(
  1. Color color
)

Color转成rgb格式

Implementation

String colorToRgb(Color color) {
  String string = colorToArgb(color);
  return string = string.substring(2, string.length);
}