static String? hexToColorName(Object hexValue) { for (final entry in _EXTENDED_COLOR_NAMES) { if (entry['value'] == hexValue) { return entry['name'] as String?; } } return null; }