static bool isValidColorLiteral(String colorStr) { return RegExp(r'^[a-z]{1,50}$', caseSensitive: false).hasMatch(colorStr); }