Converts a Flutter Color object to a hex string.
Returns a string representing the hex value. ffffffff
static String color2hex(Color color) { return rgb2hex(color.red, color.green, color.blue); }