toRGBA method
Convert the color from int format to a string with format "rgba(red, green, blue, alpha)".
Implementation
String toRGBA() {
final color = Color(this);
return "rgba(${color.red}, ${color.green}, ${color.blue}, ${color.alpha / 255})";
}