Now enums is a constructor
Updated to match the new enums version. Also, the variable name was changed from myenum to colors to match context