String getColor(Color color) { String l1 = color.toString().split('0x')[1]; l1 = l1.replaceAll(')', ''); l1 = l1.substring(2); return l1; }