- renamed 'name' attribute to 'palette' for clarity