String ColorToHex(Color hexColor) { return '${hexColor}' .toUpperCase() .replaceAll("COLOR(0XFF", "#") .replaceAll(")", ""); }