This project would allow you use GPT API and generate color palette as you described.
Advice steps to implement this project: