make palette a config option