e.g. 0xBB1122 -> #BB1122
String hexFromColor(String hexColor) { return hexColor.replaceFirst('0x', '#').toUpperCase(); }