use palette instead of hardcoded color